diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-23 19:42:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-23 19:42:55 +0000 |
commit | d5602c2c1d3b99f1ead65859ce55af5489c39449 (patch) | |
tree | df1d890e3cd4f6f0b74f803062587efa178b7972 /Makefile | |
parent | 818714f0059e9107d57352bf983bf3519b908e2d (diff) | |
download | perl_checker-d5602c2c1d3b99f1ead65859ce55af5489c39449.tar perl_checker-d5602c2c1d3b99f1ead65859ce55af5489c39449.tar.gz perl_checker-d5602c2c1d3b99f1ead65859ce55af5489c39449.tar.bz2 perl_checker-d5602c2c1d3b99f1ead65859ce55af5489c39449.tar.xz perl_checker-d5602c2c1d3b99f1ead65859ce55af5489c39449.zip |
(dist-sbn) split it out of dist
(needed for next commit)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -40,6 +40,16 @@ commit: tar: dist dist: clean + rm -rf ../$(NAME)-$(VERSION).tar* + @if [ -e ".svn" ]; then \ + $(MAKE) dist-svn; \ + else \ + echo "Unknown SCM (not SVN nor GIT)";\ + exit 1; \ + fi; + $(info $(NAME)-$(VERSION).tar.xz is ready) + +dist-svn: svn export -q -rBASE . $(NAME)-$(VERSION) - tar cfj $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION) + tar cfj $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(PERL_CHECKER_VERSION) rm -rf $(NAME)-$(VERSION) |