summaryrefslogtreecommitdiffstats
path: root/assets/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'assets/Makefile')
-rw-r--r--assets/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/Makefile b/assets/Makefile
new file mode 100644
index 00000000..07efde82
--- /dev/null
+++ b/assets/Makefile
@@ -0,0 +1,11 @@
+
+hooks := pre-commit
+binaries := $(shell ls bin/)
+.PHONY: all
+
+all: $(addprefix ../db/.git/hooks/,$(hooks)) $(addprefix ../bin/,$(binaries))
+
+../bin/%: bin/%
+ cp $< $@
+../db/.git/hooks/%: hooks/%
+ cp $< $@