diff options
author | makefu <github@syntax-fehler.de> | 2011-08-08 23:34:45 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2011-08-08 23:34:45 +0200 |
commit | 116083fb44afdee12f59a80be7d7a2d6c9416831 (patch) | |
tree | 4f1bf0110133f63064442ba7e9109a1352f896a3 /retiolum/Makefile | |
parent | eb9021be342e7eaf0cc245eabde3228b172c0946 (diff) |
retiolum/Makefile: add help command for default make target
Diffstat (limited to 'retiolum/Makefile')
-rw-r--r-- | retiolum/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
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 |