]> git.ipfire.org Git - thirdparty/git.git/blob - templates/Makefile
Merge with gitk.
[thirdparty/git.git] / templates / Makefile
1 # make
2
3 INSTALL=install
4 prefix=$(HOME)
5 etcdir=$(prefix)/etc
6 etcgitdir=$(etcdir)/git-core
7 templatedir=$(etcgitdir)/templates
8 # dest=
9
10 all:
11 clean:
12
13 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