From ce9bc051e1bf9369b5b0f099f57e302fd0e83c7c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 Jul 2011 08:45:19 +0200 Subject: [PATCH] Makefile: update dist target for git. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 87b10868..3ad9b4cb 100644 --- a/Makefile +++ b/Makefile @@ -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