diff options
author | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-27 13:53:14 +0200 |
---|---|---|
committer | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-27 13:53:14 +0200 |
commit | ce9ed19b3b6ed9b49690e1a84a94190922000abf (patch) | |
tree | fdf01a81bcb9e1f4c5c5c78171cdcb54d7367810 /modules/retiolum/Makefile | |
parent | eaca1684da22a3560e7f32da9f08e7549e74600e (diff) | |
parent | a6563e5a9c554aa5d08c11f645815fb25deb8bcd (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'modules/retiolum/Makefile')
-rw-r--r-- | modules/retiolum/Makefile | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/modules/retiolum/Makefile b/modules/retiolum/Makefile index 9bda5dfc..c1ebfe37 100644 --- a/modules/retiolum/Makefile +++ b/modules/retiolum/Makefile @@ -1,8 +1,15 @@ -all: - mkdir -p /etc/tinc/retiolum - git clone git://github.com/miefda/retiolum.git /etc/tinc/retiolum/hosts - echo cd /etc/tinc/retiolum/hosts/.scripts - echo "choose the right build script from here" -update: - cd /etc/tinc/retiolum/hosts - git pull origin master +.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: + curl -k https://github.com/miefda/retiolum/raw/master/.scripts/tinc_setup/bootstrap.sh | sh |