Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile « templates - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 12433519eefef9bbef1c74729a1df11fa8ab34f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# make

INSTALL=install
prefix=$(HOME)
etcdir=$(prefix)/etc
etcgitdir=$(etcdir)/git-core
templatedir=$(etcgitdir)/templates
# dest=

all:
clean:

install:
	$(INSTALL) -d -m755 $(dest)$(templatedir)/hooks/
	$(foreach s,$(wildcard hooks--*),\
		$(INSTALL) -m644 $s \
		$(dest)$(templatedir)/hooks/$(patsubst hooks--%,%,$s);)
	$(INSTALL) -d -m755 $(dest)$(templatedir)/info
	$(INSTALL) -d -m755 $(dest)$(templatedir)/branches