You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
423 B
20 lines
423 B
20 years ago
|
# 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
|