templates / Makefileon commit Merge with gitk. (638ccfd)
   1# make
   2
   3INSTALL=install
   4prefix=$(HOME)
   5etcdir=$(prefix)/etc
   6etcgitdir=$(etcdir)/git-core
   7templatedir=$(etcgitdir)/templates
   8# dest=
   9
  10all:
  11clean:
  12
  13install:
  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