Makefile: added a dist target.

This commit is contained in:
Juan RP 2012-06-12 16:39:45 +02:00
parent 84ea05d975
commit 411df83ee0
1 changed files with 6 additions and 1 deletions

View File

@ -17,4 +17,9 @@ install: all
clean:
-rm -f mklive.sh
.PHONY: all clean install
dist:
@echo "Building distribution tarball for tag: v$(VERSION) ..."
-@git archive --format=tar --prefix=void-mklive-$(VERSION)/ \
v$(VERSION) | xz -9 > ~/void-mklive-$(VERSION).tar.xz
.PHONY: all clean install dist