1# make
23
INSTALL=install
4prefix=$(HOME)
5etcdir=$(prefix)/etc
6etcgitdir=$(etcdir)/git-core
7templatedir=$(etcgitdir)/templates
8# dest=
910
all:
11clean:
1213
install:
14$(INSTALL) -d -m755 $(dest)$(templatedir)/hooks/
15$(foreach s,$(wildcard hooks--*),\
16$(INSTALL) -m644 $s \
17$(dest)$(templatedir)/hooks/$(patsubst hooks--%,%,$s);)
18$(INSTALL) -d -m755 $(dest)$(templatedir)/info
19$(INSTALL) -d -m755 $(dest)$(templatedir)/branches