summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-02-13 20:57:34 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-02-13 20:57:34 +0100
commitdd488b3c90ce1c931737bb0830d2f0e4cd7efabb (patch)
treeb952f535c5113f3945592d64d4e2a586fef32c5a
parentde38f347a734281e0c72fdc8d627f069e75cb61c (diff)
downloaddevtools-0.9.2.tar.xz
add dist target to Makefile0.9.2
-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