diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 1 insertions, 26 deletions
@@ -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 |