From d78073d563b0926c50d980b24d900d61f6cf2208 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 25 Feb 2015 10:57:57 +0000 Subject: dist: Add git support --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1