summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 06:48:54 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 06:48:54 +0000
commitd389fcb8b698b7f1834e94845f546e374ee711bf (patch)
treef0ef861f7b6afacbbec11cb7222b0c0c02bb6b11
parentb2197aa502f269fda067df51dafea1157c1e4fc9 (diff)
downloadcontrol-center-d389fcb8b698b7f1834e94845f546e374ee711bf.tar
control-center-d389fcb8b698b7f1834e94845f546e374ee711bf.tar.gz
control-center-d389fcb8b698b7f1834e94845f546e374ee711bf.tar.bz2
control-center-d389fcb8b698b7f1834e94845f546e374ee711bf.tar.xz
control-center-d389fcb8b698b7f1834e94845f546e374ee711bf.zip
move perl cleaning from dist time to install time
(needed for next commit)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a101161..bf850e67 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ clean:
install: all
$(MAKE) -C po $@
+ find -name '*.p[lm]' -o -name control-center | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict).*//g'
install -d $(DESTDIR)/usr/{bin/,share/icons}
install -d $(DESTDIR)/usr/sbin
install -d $(mcc_dir)/themes/default/
@@ -57,7 +58,6 @@ dist: clean
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'
tar cfa ../$(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)