Permalink
Browse files

Makefile: now default is as simple as "make"

plus copies tar file to /tmp just for convenience
  • Loading branch information...
1 parent 3d9f230 commit fbe785adeaab76ca0c13bd1af9d69831951a9c57 @sitaramc committed May 14, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 Makefile
View
@@ -6,6 +6,10 @@
# Note: I'm not sure if that "-r" is a GNU tar extension...
+branch := $(shell git rev-parse --abbrev-ref HEAD)
+
+$(branch): $(branch).tar
+
.GITOLITE-VERSION:
@touch conf/VERSION
@@ -14,3 +18,4 @@
git archive $* > $@
tar -r -f $@ conf/VERSION
rm conf/VERSION
+ cp -v $@ /tmp

0 comments on commit fbe785a

Please sign in to comment.