diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/assets/Makefile b/assets/Makefile index a8025784..07efde82 100644 --- a/assets/Makefile +++ b/assets/Makefile @@ -1,9 +1,11 @@ hooks := pre-commit - +binaries := $(shell ls bin/) .PHONY: all -all: $(addprefix ../db/.git/hooks/,$(hooks)) +all: $(addprefix ../db/.git/hooks/,$(hooks)) $(addprefix ../bin/,$(binaries)) +../bin/%: bin/% + cp $< $@ ../db/.git/hooks/%: hooks/% cp $< $@ |