aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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