summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-01 15:34:28 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-01 15:34:28 +0200
commitcd45b624c2944998295d40d5f1f7e41fce972b7f (patch)
treef6ccdf356433e094542ca0fad721bcf8c133ba58 /Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f0cd797
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+.PHONY: all install
+
+PREFIX?=/var/empty
+
+all: post-receive
+ @echo Done
+
+%: %.tmpl %.json
+ jinja2 --outfile=$@ --format=json $@.tmpl $@.json
+
+install: post-receive
+ cp post-receive ${PREFIX}/