From dd488b3c90ce1c931737bb0830d2f0e4cd7efabb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 13 Feb 2010 20:57:34 +0100 Subject: add dist target to Makefile --- .gitignore | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.3-70-g09d2