diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-12 16:06:02 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-12 16:06:35 +0100 |
commit | 43a9cc31a1d26614f0d7af0915588fd7c121fcfa (patch) | |
tree | 1a117e1f12ba71e1fb7bfed3b82b6977a30a24f0 /Makefile | |
parent | db1464d95369577bb38839cd56e7875f2731dbe8 (diff) | |
download | userdrake-43a9cc31a1d26614f0d7af0915588fd7c121fcfa.tar userdrake-43a9cc31a1d26614f0d7af0915588fd7c121fcfa.tar.gz userdrake-43a9cc31a1d26614f0d7af0915588fd7c121fcfa.tar.bz2 userdrake-43a9cc31a1d26614f0d7af0915588fd7c121fcfa.tar.xz userdrake-43a9cc31a1d26614f0d7af0915588fd7c121fcfa.zip |
Drop svn support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -41,28 +41,5 @@ dis: dist dist: clean rm -rf ../$(NAME)-$(VERSION).tar* rm -rf $(NAME)-$(VERSION) ../$(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) - -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; - -.PHONY: ChangeLog -ChangeLog: - svn2cl --accum --authors ../../soft/common/username.xml - rm -f *.bak - svn commit -m "Generated by svn2cl the `LC_TIME=C date '+%d_%b'`" ChangeLog |