Makefile: update dist target for git.
This commit is contained in:
parent
900e35a15e
commit
ce9bc051e1
2
Makefile
2
Makefile
@ -46,4 +46,4 @@ ifndef REV
|
|||||||
@exit 1
|
@exit 1
|
||||||
endif
|
endif
|
||||||
@echo "Building distribution tarball for revision/tag: $(REV) ..."
|
@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
|
||||||
|
Loading…
Reference in New Issue
Block a user