summaryrefslogtreecommitdiffstats
path: root/assets/Makefile
blob: 07efde82efc8a4da8a955b3310557b1cd13ab645 (plain)
1
2
3
4
5
6
7
8
9
10
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 $< $@