aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-01-27 15:13:47 -0500
committerDave Reisner <dreisner@archlinux.org>2013-01-27 15:19:05 -0500
commitcce2765626b7d0174e32ed238b607bad9ad14537 (patch)
treed238cb394d4b8e344431dbac9ace6375748b814c
parentc3968122637dbd06d1171cccc8bd3891419151ec (diff)
downloadmirror-ponymix-cce2765626b7d0174e32ed238b607bad9ad14537.tar.gz
mirror-ponymix-cce2765626b7d0174e32ed238b607bad9ad14537.tar.bz2
mirror-ponymix-cce2765626b7d0174e32ed238b607bad9ad14537.zip
add dist target
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 951debb..d2f6b09 100644
--- a/Makefile
+++ b/Makefile
@@ -34,3 +34,7 @@ install: ponymix
clean:
$(RM) ponymix pulse.o
+
+V=$(shell if test -d .git; then git describe; fi)
+dist:
+ git archive --format=tar --prefix=ponymix-$(V)/ HEAD | gzip -9 > ponymix-$(V).tar.gz