about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2012-06-12 16:39:45 +0200
committerJuan RP <xtraeme@gmail.com>2012-06-12 16:39:45 +0200
commit411df83ee0456883391a8b4e6ec44fe07b8c8dc6 (patch)
tree7969603a4bd02485936abacb3e00bce861717580 /Makefile
parent84ea05d97552f845eb173d28006b59d501181aba (diff)
downloadhrmpf-411df83ee0456883391a8b4e6ec44fe07b8c8dc6.tar.gz
hrmpf-411df83ee0456883391a8b4e6ec44fe07b8c8dc6.tar.xz
hrmpf-411df83ee0456883391a8b4e6ec44fe07b8c8dc6.zip
Makefile: added a dist target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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