diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -41,24 +41,9 @@ clean: dist: dis dis: rm -rf ../$(NAME)-$(VERSION)*.tar* $(NAME)-$(VERSION) - @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 | bzip2 >../$(NAME)-$(VERSION).tar.bzip2; $(info $(NAME)-$(VERSION).tar.lzma is ready) -dist-svn: - svn export -q -rBASE . $(NAME)-$(VERSION) - tar cjf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION) - rm -rf $(NAME)-$(VERSION) - -dist-git: - @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 >../$(NAME)-$(VERSION).tar.bzip2; - .PHONY: ChangeLog log changelog log: ChangeLog |