summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2015-02-25 10:57:57 +0000
committerColin Guthrie <colin@mageia.org>2015-02-25 11:04:41 +0000
commitd78073d563b0926c50d980b24d900d61f6cf2208 (patch)
tree49e0ee29b00552504519c068546a1eda9c6aed0c
parent2b9752e8b64e8e3a556e0b2fc78f122578a5c9e1 (diff)
downloadmandi-d78073d563b0926c50d980b24d900d61f6cf2208.tar
mandi-d78073d563b0926c50d980b24d900d61f6cf2208.tar.gz
mandi-d78073d563b0926c50d980b24d900d61f6cf2208.tar.bz2
mandi-d78073d563b0926c50d980b24d900d61f6cf2208.tar.xz
mandi-d78073d563b0926c50d980b24d900d61f6cf2208.zip
dist: Add git support
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ee0b1e4..3e58fab 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
NAME = mandi
-VERSION = 1.3
+VERSION = 1.4
all:
(cd src; make)
@@ -9,7 +9,5 @@ clean:
make -C src clean
dist: clean
- rm -rf ../$(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
- svn export -q -rBASE . ../$(NAME)-$(VERSION)
- tar cjf ../$(NAME)-$(VERSION).tar.bz2 ../$(NAME)-$(VERSION)
- rm -rf ../$(NAME)-$(VERSION)
+ rm -rf ../$(NAME)-$(VERSION).tar*
+ git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz