From 4a70370c410fa0dcc10206d725554e29443aee44 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 1 May 2015 15:13:45 +0200 Subject: kill SVN leftovers --- Makefile | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 585249c..2bfbe16 100644 --- a/Makefile +++ b/Makefile @@ -86,21 +86,6 @@ VERSION = $(UPSTREAM_VERSION).3 dist: 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 | lzma >../$(NAME)-$(VERSION).tar.lzma; $(info $(NAME)-$(VERSION).tar.lzma is ready) -dist-svn: - rm -rf $(NAME)-$(VERSION) - svn export -q -rBASE . $(NAME)-$(VERSION) - tar cfY ../$(NAME)-$(VERSION).tar.lzma $(NAME)-$(VERSION) - rm -rf $(NAME)-$(VERSION) - -dist-git: - @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | lzma >../$(NAME)-$(VERSION).tar.lzma; -- cgit v1.2.1