diff options
-rw-r--r-- | Makefile | 24 |
1 files changed, 1 insertions, 23 deletions
@@ -18,30 +18,8 @@ install: install -m644 $(wildcard data/icons/*.png) $(DESTDIR)$(iconsdir) make -C po install -dist-svn: - rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* - svn export -q -rBASE . $(NAME)-$(VERSION) - find $(NAME)-$(VERSION) -name .svnignore |xargs rm -rf - 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; - 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 | xz >../$(NAME)-$(VERSION).tar.xz; $(info $(NAME)-$(VERSION).tar.xz is ready) -changelog: - svn2cl --authors ../common/username.xml --accum - rm -f ChangeLog.bak - log: changelog |