diff options
author | Juan RP <xtraeme@gmail.com> | 2012-06-12 16:39:45 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2012-06-12 16:39:45 +0200 |
commit | 411df83ee0456883391a8b4e6ec44fe07b8c8dc6 (patch) | |
tree | 7969603a4bd02485936abacb3e00bce861717580 | |
parent | 84ea05d97552f845eb173d28006b59d501181aba (diff) | |
download | hrmpf-411df83ee0456883391a8b4e6ec44fe07b8c8dc6.tar.gz hrmpf-411df83ee0456883391a8b4e6ec44fe07b8c8dc6.tar.xz hrmpf-411df83ee0456883391a8b4e6ec44fe07b8c8dc6.zip |
Makefile: added a dist target.
-rw-r--r-- | Makefile | 7 |
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 |