summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-18 17:39:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-18 17:39:03 +0000
commit63e27f31845cd74e7f33c0fbbd6bc6b2900e80c7 (patch)
tree75cd9f4f50827c89587d88d9e8737e580294af08
parent518d7c8dc3e077a8593e6af6a85dcdafecd0b5a7 (diff)
downloaddrakx-63e27f31845cd74e7f33c0fbbd6bc6b2900e80c7.tar
drakx-63e27f31845cd74e7f33c0fbbd6bc6b2900e80c7.tar.gz
drakx-63e27f31845cd74e7f33c0fbbd6bc6b2900e80c7.tar.bz2
drakx-63e27f31845cd74e7f33c0fbbd6bc6b2900e80c7.tar.xz
drakx-63e27f31845cd74e7f33c0fbbd6bc6b2900e80c7.zip
faster startup: remove use (diagnostics|vars|strict) in srpm target as
in local target (dams fsck)
-rw-r--r--perl-install/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 59ccb47c2..6011abac8 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -231,6 +231,9 @@ export:
cd ..; cvs export -d $(PACKAGE)-$(PKGVERSION) -r $(TAG) $(PACKAGE)
cd ../$(PACKAGE)-$(PKGVERSION) && rm -rf $(OTHERDIRS) && set -x && for f in $(OTHERDIRS); do cvs -d `cat ../CVS/Root` export -r $(TAG) -d `basename $$f` gi/$$f; done
cd ..; set -x && for f in $(OTHERFILES); do cvs -d `cat ../CVS/Root` export -r $(TAG) -d $(PACKAGE)-$(PKGVERSION) gi/$$f; done
+ find ../$(PACKAGE)-$(PKGVERSION) -name '*.pm' | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict)//g'
+ find ../$(PACKAGE)-$(PKGVERSION)/standalone -type f | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict)//g'
+
cvstag:
cvs tag $(CVSTAGOPT) $(TAG)