Makefile: update dist target for git.

This commit is contained in:
Juan RP 2011-07-08 08:45:19 +02:00
parent 900e35a15e
commit ce9bc051e1

View File

@ -46,4 +46,4 @@ ifndef REV
@exit 1
endif
@echo "Building distribution tarball for revision/tag: $(REV) ..."
-@hg archive --rev $(REV) --type tgz ~/xbps-$(REV).tar.gz
-@git archive --format=tar --prefix=xbps-$(REV)/ $(REV) | gzip -9 > ~/xbps-$(REV).tar.gz