From e0ec5d2e8560ae433ee677622b24ba82dbe7630b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 May 2011 15:47:21 +0200 Subject: lowered filesystem hierarchy--everything are modules --- retiolum/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 retiolum/Makefile (limited to 'retiolum/Makefile') diff --git a/retiolum/Makefile b/retiolum/Makefile new file mode 100644 index 00000000..0d99ee70 --- /dev/null +++ b/retiolum/Makefile @@ -0,0 +1,15 @@ +.phony: update it all so install + +all: select-target + +it: so +so: it + +/etc/tinc/retiolum/hosts: + cd $(dir $@) && git clone https://github.com/krebscode/hosts + +update: /etc/tinc/retiolum/hosts + cd $< && git pull + +install: + scripts/tinc_setup/install.sh -- cgit v1.2.3 From 116083fb44afdee12f59a80be7d7a2d6c9416831 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 8 Aug 2011 23:34:45 +0200 Subject: retiolum/Makefile: add help command for default make target --- retiolum/Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'retiolum/Makefile') diff --git a/retiolum/Makefile b/retiolum/Makefile index 0d99ee70..85020c9f 100644 --- a/retiolum/Makefile +++ b/retiolum/Makefile @@ -1,6 +1,7 @@ .phony: update it all so install -all: select-target +all: + cat Makefile it: so so: it @@ -8,8 +9,20 @@ so: it /etc/tinc/retiolum/hosts: cd $(dir $@) && git clone https://github.com/krebscode/hosts +#TODO conflicting update: /etc/tinc/retiolum/hosts cd $< && git pull -install: +install: scripts/tinc_setup/install.sh + +autohosts: + @echo creating Magic + bin/update_tinc_hosts "create magic" || true + @echo adding hosts + bin/update_tinc_hosts restart + +arch-install: update install arch-autostart autohosts + +arch-autostart: + make -C scripts/autostart arch -- cgit v1.2.3