From c61197a3984f8975fa9fd9a3f0cabe05206c1cb9 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 12 Oct 2013 15:23:00 +0100 Subject: Drop svn support --- Makefile | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8de09fe5..001563be 100644 --- a/Makefile +++ b/Makefile @@ -68,30 +68,5 @@ dis: dist dist: @make 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 >../$(NAME)-$(VERSION).tar.xz; $(info $(NAME)-$(VERSION).tar.xz is ready) - -dist-svn: - rm -rf $(NAME)-$(VERSION) - svn export -q -rBASE . $(NAME)-$(VERSION) - tar cfa ../$(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION) - rm -rf $(NAME)-$(VERSION) - - -dist-git: - @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz; - -log:changelog - -changelog: ../common/username -#svn2cl is available in our contrib. - svn2cl --authors ../common/username.xml --accum - rm -f ChangeLog.bak - svn commit -m "Generated by svn2cl the `date '+%c'`" ChangeLog -- cgit v1.2.1