summaryrefslogtreecommitdiffstats
path: root/retiolum/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'retiolum/Makefile')
-rw-r--r--retiolum/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/retiolum/Makefile b/retiolum/Makefile
new file mode 100644
index 00000000..85020c9f
--- /dev/null
+++ b/retiolum/Makefile
@@ -0,0 +1,28 @@
+.phony: update it all so install
+
+all:
+ cat Makefile
+
+it: so
+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:
+ 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