diff options
-rw-r--r-- | Makefile | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -67,27 +67,9 @@ dist: dis dis ../$(NAME)-$(VERSION).tar.xz: tar 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: - 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; - - -log: - svn2cl --authors ../common/username.xml --accum gdb: lspcidrake LD_LIBRARY_PATH=$(PWD) gdb -q ./lspcidrake |