diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-24 06:48:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-24 06:48:51 +0000 |
commit | b2197aa502f269fda067df51dafea1157c1e4fc9 (patch) | |
tree | 7919e690243fa8dd52622e56a4d84d446ae80ffa | |
parent | 8feef21b53796af3c30d1949cb345f21fb61535a (diff) | |
download | control-center-b2197aa502f269fda067df51dafea1157c1e4fc9.tar control-center-b2197aa502f269fda067df51dafea1157c1e4fc9.tar.gz control-center-b2197aa502f269fda067df51dafea1157c1e4fc9.tar.bz2 control-center-b2197aa502f269fda067df51dafea1157c1e4fc9.tar.xz control-center-b2197aa502f269fda067df51dafea1157c1e4fc9.zip |
(dist-svn) split it out of dist
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -45,6 +45,16 @@ install: all dis: 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: rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* svn export -q -rBASE . $(NAME)-$(VERSION) find $(NAME)-$(VERSION) -name '*.p[lm]' -o -name control-center | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict).*//g' |