diff options
-rw-r--r-- | Makefile | 23 |
1 files changed, 1 insertions, 22 deletions
@@ -64,31 +64,10 @@ dist: clean find . -maxdepth 2 -name '*.p[lm]' -print0 | xargs -t -0 -n1 perl -cw \ -I/usr/lib/libDrakX > /dev/null 2>&1 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; - $(info $(NAME)-$(VERSION).tar.xz is ready) - -dist-svn: - rm -rf $(NAME)-$(VERSION) - 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; + $(info $(NAME)-$(VERSION).tar.xz is ready) log: changelog -changelog: - ( svn2cl --authors=../../common/username --accum ; \ - rm -f ChangeLog.bak ; \ - svn commit -m "Generated by svn2cl the `date '+%c'`" ChangeLog ; \ - ) clean_test: rm -rf test |