summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-04-21 15:14:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-04-21 15:14:01 +0000
commite18ed6c2b514483604e2ca6bd35923a0371b86ab (patch)
treed1b6cbd65ba0780ee6837a659848b6c4e33ae896
parent918c8de379d2bae26b1d3e9cf870a5ffa564c4b5 (diff)
downloaddrakx-e18ed6c2b514483604e2ca6bd35923a0371b86ab.tar
drakx-e18ed6c2b514483604e2ca6bd35923a0371b86ab.tar.gz
drakx-e18ed6c2b514483604e2ca6bd35923a0371b86ab.tar.bz2
drakx-e18ed6c2b514483604e2ca6bd35923a0371b86ab.tar.xz
drakx-e18ed6c2b514483604e2ca6bd35923a0371b86ab.zip
use simplify-drakx-modules
-rw-r--r--perl-install/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index caa4134ce..6afa75db1 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -162,7 +162,7 @@ endif
fi; \
fi; \
done
- perl -pi -e 's/\s*use\s+(warnings|diagnostics|strict|vars|warnings).*//g' $(DEST)/usr/*/*/*/utf8_heavy.pl
+ ../tools/simplify-drakx-modules $(DEST)/usr/*/*/*/utf8_heavy.pl
mv -f $(DEST)/bin/* $(DEST)/sbin/* $(DEST)/usr/bin
cd $(DEST)/usr/bin ; mv insmod insmod_
@@ -290,8 +290,8 @@ cvstag:
cd ..; cvs tag $(CVSTAGOPT) $(TAG) $(OTHERS)
nuke_perl:
- find ../$(PACKAGE)-$(PKGVERSION) -name '*.pm' | xargs perl -pi -e 's/\s*use\s+(diagnostics|strict|vars|warnings).*//g'
- find ../$(PACKAGE)-$(PKGVERSION)/standalone -type f | xargs perl -pi -e 's/\s*use\s+(diagnostics|strict|vars|warnings).*//g'
+ find ../$(PACKAGE)-$(PKGVERSION) -name '*.pm' | xargs ../tools/simplify-drakx-modules
+ find ../$(PACKAGE)-$(PKGVERSION)/standalone -type f | xargs ../tools/simplify-drakx-modules
dont_run_directly_stage2:
[ -d $(DEST) ] || $(MISC_DEST)/mdkinst_stage2_tool $(STAGE2_DEST)