From c610e1839b3903497a6f6d9009d997b7ac88eea5 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 29 Sep 2013 19:30:52 +0100 Subject: build: Drop svn support from Makefile --- Makefile | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Makefile b/Makefile index b0f0b76..eefdff6 100644 --- a/Makefile +++ b/Makefile @@ -43,25 +43,10 @@ cleandist: dist: cleandist 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 -9 > ../$(NAME)-$(VERSION).tar.xz $(info $(NAME)-$(VERSION).tar.xz is ready) -dist-svn: - svn export -q -rBASE . $(NAME)-$(VERSION) - tar cfa ../$(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION) - rm -rf $(NAME)-$(VERSION) - -dist-git: cleandist - git archive --prefix $(NAME)-$(VERSION)/ HEAD | xz -9 > ../$(NAME)-$(VERSION).tar.xz - clean: make -C po clean -- cgit v1.2.1