summaryrefslogtreecommitdiffstats
path: root/go/Makefile
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-06 01:02:09 +0100
committerlassulus <lassulus@googlemail.com>2014-01-06 01:02:09 +0100
commitb74b6b26326dbbb6f62d8ad6388236f50e882263 (patch)
treef72235cc213f6ca0d589247e7946bca7878e0b8c /go/Makefile
parent7b74930bdc5cce9a84634245de5c29cc7571b42a (diff)
parent54cb85b9ae82fe89d717fd5ce3de028b12c7c2fd (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'go/Makefile')
-rw-r--r--go/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/go/Makefile b/go/Makefile
new file mode 100644
index 00000000..6c827f2b
--- /dev/null
+++ b/go/Makefile
@@ -0,0 +1,10 @@
+help:;@grep -v ^help: Makefile
+
+install: \
+ /etc/systemd/system/go.service \
+ /etc/conf.d/go.env
+ systemctl daemon-reload
+
+/etc/%: etc/%
+ @! test -e $@ || { echo file already exists: $@; exit 23; }
+ cp $< $@