diff options
author | Colin Guthrie <colin@mageia.org> | 2013-09-29 19:30:52 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-09-29 19:31:07 +0100 |
commit | c610e1839b3903497a6f6d9009d997b7ac88eea5 (patch) | |
tree | 5cfe3e99f9ef27e1fcebe43ab5c7a4d81fba7cec | |
parent | 8022fcd6318ff47541c393b28fe2818916b61022 (diff) | |
download | drakx-net-c610e1839b3903497a6f6d9009d997b7ac88eea5.tar drakx-net-c610e1839b3903497a6f6d9009d997b7ac88eea5.tar.gz drakx-net-c610e1839b3903497a6f6d9009d997b7ac88eea5.tar.bz2 drakx-net-c610e1839b3903497a6f6d9009d997b7ac88eea5.tar.xz drakx-net-c610e1839b3903497a6f6d9009d997b7ac88eea5.zip |
build: Drop svn support from Makefile
-rw-r--r-- | Makefile | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -43,25 +43,10 @@ cleandist: dist: 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 -9 > ../$(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: cleandist - git archive --prefix $(NAME)-$(VERSION)/ HEAD | xz -9 > ../$(NAME)-$(VERSION).tar.xz - clean: make -C po clean |