summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 16e7c6cae..373ccebc3 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -36,6 +36,10 @@ localcopy: clean
rm -rf standalone/pixmaps
$(MAKE) -C ../tools clean
cd .. ; rm -rf $(PACKAGE)-$(PKGVERSION) ; cp -af perl-install $(PACKAGE)-$(PKGVERSION) ; cp -af $(OTHERS) $(PACKAGE)-$(PKGVERSION)
+ cd
+ 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'
+
$(DIRS):
install -d auto