aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2012-07-01 15:03:13 +0000
committerJani Välimaa <wally@mageia.org>2012-07-01 15:03:13 +0000
commitd1f47d66bf1f26514803324000b360477222442e (patch)
tree408d48e5d62c7bab5b6a9f25828f362b0d05dcb9 /Makefile
parentfbeb964ee2439ecc17e1ba55aba7e9f18adbd7df (diff)
downloadconfig-d1f47d66bf1f26514803324000b360477222442e.tar
config-d1f47d66bf1f26514803324000b360477222442e.tar.gz
config-d1f47d66bf1f26514803324000b360477222442e.tar.bz2
config-d1f47d66bf1f26514803324000b360477222442e.tar.xz
config-d1f47d66bf1f26514803324000b360477222442e.zip
add tar-git target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 595ae63..fb7634c 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,9 @@ tar:
tar cvaf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
rm -rf $(PACKAGE)-$(VERSION)
+tar-git
+ @git archive --prefix=$(PACKAGE)-$(VERSION)/ HEAD | xz > $(PACKAGE)-$(VERSION).tar.xz;
+
dist: cleandist localcopy tar
.PHONY: ChangeLog log changelog