diff options
author | Colin Guthrie <colin@mageia.org> | 2015-02-25 10:57:57 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2015-02-25 11:04:41 +0000 |
commit | d78073d563b0926c50d980b24d900d61f6cf2208 (patch) | |
tree | 49e0ee29b00552504519c068546a1eda9c6aed0c | |
parent | 2b9752e8b64e8e3a556e0b2fc78f122578a5c9e1 (diff) | |
download | mandi-d78073d563b0926c50d980b24d900d61f6cf2208.tar mandi-d78073d563b0926c50d980b24d900d61f6cf2208.tar.gz mandi-d78073d563b0926c50d980b24d900d61f6cf2208.tar.bz2 mandi-d78073d563b0926c50d980b24d900d61f6cf2208.tar.xz mandi-d78073d563b0926c50d980b24d900d61f6cf2208.zip |
dist: Add git support
-rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |