From 411df83ee0456883391a8b4e6ec44fe07b8c8dc6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 12 Jun 2012 16:39:45 +0200 Subject: Makefile: added a dist target. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4c93606..1cb0e5a 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit 1.4.1