summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b25c15b..d823845 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
*~
+devtools-*.tar.gz
diff --git a/Makefile b/Makefile
index c5915e8..2e3b3a1 100644
--- a/Makefile
+++ b/Makefile
@@ -42,3 +42,6 @@ uninstall:
rm $(DESTDIR)/usr/bin/archrm
rm $(DESTDIR)/usr/bin/communityco
rm $(DESTDIR)/usr/bin/rebuildpkgs
+
+dist:
+ git archive --format=tar --prefix=devtools-$(V)/ $(V) | gzip -9 > devtools-$(V).tar.gz