diff options
| author | root <root@filebitch> | 2011-08-16 19:10:17 +0200 |
|---|---|---|
| committer | root <root@filebitch> | 2011-08-16 19:10:17 +0200 |
| commit | 460982f036bdc4815ea5e9447392bdb049ff2a87 (patch) | |
| tree | b27e2e3cb28b8b4ecbb3e9ba2004966241262c85 /retiolum/Makefile | |
| parent | 9a9ff1d97fa5072109a4381484f5daf5a4bfb0c1 (diff) | |
| parent | 84f25017f61d87c592bcc4519bee56e49fe66083 (diff) | |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'retiolum/Makefile')
| -rw-r--r-- | retiolum/Makefile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/retiolum/Makefile b/retiolum/Makefile index 85020c9f..407d8c60 100644 --- a/retiolum/Makefile +++ b/retiolum/Makefile @@ -1,22 +1,21 @@ -.phony: update it all so install +.PHONY: update all install hosts -all: - cat Makefile +EXES := update_tinc_hosts fillxx update-retiolum-hosts -it: so -so: it +all: update links -/etc/tinc/retiolum/hosts: - cd $(dir $@) && git clone https://github.com/krebscode/hosts +links: + for x in $(EXES); do ln -vsnf ../retiolum/bin/$$x ../bin; done -#TODO conflicting -update: /etc/tinc/retiolum/hosts - cd $< && git pull +hosts: + bin/update-retiolum-hosts -install: +install: update + @# will not run automatically scripts/tinc_setup/install.sh + scripts/autostart/create-startup.sh -autohosts: +update: hosts @echo creating Magic bin/update_tinc_hosts "create magic" || true @echo adding hosts |
