Makefile: now default is as simple as "make"
plus copies tar file to /tmp just for convenience
This commit is contained in:
parent
3d9f230b41
commit
fbe785adea
5
Makefile
5
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue