From a26428b141818232b0d0de04d4db2929e9693450 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 1 Sep 2013 14:10:51 +0100 Subject: Remove svn support from Makefile --- Makefile | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d65304ca..bbefae62 100644 --- a/Makefile +++ b/Makefile @@ -49,25 +49,9 @@ install: all dis: dist dist: clean rm -rf ../$(NAME)-$(VERSION).tar* - @if [ -e ".svn" ]; then \ - $(MAKE) dist-svn; \ - elif [ -e ".git" ]; then \ - $(MAKE) dist-git; \ - else \ - echo "Unknown SCM (not SVN nor GIT)";\ - exit 1; \ - fi; + @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz; $(info $(NAME)-$(VERSION).tar.xz is ready) -dist-svn: - rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* - svn export -q -rBASE . $(NAME)-$(VERSION) - tar cfa ../$(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION) - rm -rf $(NAME)-$(VERSION) - -dist-git: - @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz; - changelog: svn2cl --authors ../common/username.xml --accum rm -f ChangeLog.bak -- cgit v1.2.1