summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-13 19:10:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-13 19:10:58 +0000
commitb7db31a0dafc4c87883dbdd99b88222cc97566d6 (patch)
tree95ba15b1ba579d1037d2de0f22afe93f35e201ab /perl-install/Makefile
parentf7b05108a6f910aef3095835c5ef6662aeb272ca (diff)
downloaddrakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.tar
drakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.tar.gz
drakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.tar.bz2
drakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.tar.xz
drakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.zip
use PerlIO-gzip
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index d62ad5390..aa40d5275 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -57,6 +57,7 @@ install_pms: $(DIRS)
for i in `perl -ne 's/sub (\w+?)_? {.*/$$1/ and print' commands.pm` sync; do ln -sf commands $(DEST)/usr/bin/$$i; done
install -d $(DESTREP4PMS)
+ find $(DESTREP4PMS) -name "*.gz.pm" | xargs rm -f
for i in $(PMS); do \
dest=$(DESTREP4PMS)/`dirname $$i`; \
install -d $$dest; \
@@ -191,6 +192,8 @@ full_stage2:
stage2:
$(MAKE) install_pms
+ find $(DEST)/usr -name "*.pm" | xargs gzip -9f
+ cd $(DEST)/usr/lib/perl5 ; gunzip 5.*/{PerlIO,Exporter}.pm.gz 5.*/*-linux-thread-multi/{XSLoader,lib}.pm.gz vendor_perl/*/*-linux-thread-multi/PerlIO/gzip.pm.gz
$(ROOTDEST)/misc/make_mdkinst_stage2 $(DEST) $(ROOTDEST)/Mandrake/base/mdkinst_stage2
# rules to build a test rpm