Makefile: now default is as simple as "make"

plus copies tar file to /tmp just for convenience
This commit is contained in:
Sitaram Chamarty 2010-05-14 11:26:31 +05:30
parent 3d9f230b41
commit fbe785adea

View file

@ -6,6 +6,10 @@
# Note: I'm not sure if that "-r" is a GNU tar extension... # 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: .GITOLITE-VERSION:
@touch conf/VERSION @touch conf/VERSION
@ -14,3 +18,4 @@
git archive $* > $@ git archive $* > $@
tar -r -f $@ conf/VERSION tar -r -f $@ conf/VERSION
rm conf/VERSION rm conf/VERSION
cp -v $@ /tmp