summaryrefslogtreecommitdiffstats
path: root/modules/retiolum/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/retiolum/Makefile')
-rw-r--r--modules/retiolum/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/retiolum/Makefile b/modules/retiolum/Makefile
index 150255ae..76b833f8 100644
--- a/modules/retiolum/Makefile
+++ b/modules/retiolum/Makefile
@@ -2,7 +2,11 @@
all: select-target
-update:
- git pull /etc/tinc/retiolum/hosts
+/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