summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-23 19:42:55 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-23 19:42:55 +0000
commitd5602c2c1d3b99f1ead65859ce55af5489c39449 (patch)
treedf1d890e3cd4f6f0b74f803062587efa178b7972 /Makefile
parent818714f0059e9107d57352bf983bf3519b908e2d (diff)
downloadperl_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--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d70ad55..cc121f9 100644
--- a/Makefile
+++ b/Makefile
@@ -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)