aboutsummaryrefslogtreecommitdiff
path: root/templates/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'templates/Makefile')
-rw-r--r--templates/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/Makefile b/templates/Makefile
new file mode 100644
index 000000000..12433519e
--- /dev/null
+++ b/templates/Makefile
@@ -0,0 +1,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