summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-17 10:13:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-17 10:13:46 +0000
commitb653de526b0a1cb7556ad744facae34b42c645e7 (patch)
tree46b8c5a7fdee35faf80f8857a60d8f84c0aacfd6 /perl-install/Makefile
parent45100551618dbbd58d9cfa1cdbfc5c3bcbd09e94 (diff)
downloaddrakx-b653de526b0a1cb7556ad744facae34b42c645e7.tar
drakx-b653de526b0a1cb7556ad744facae34b42c645e7.tar.gz
drakx-b653de526b0a1cb7556ad744facae34b42c645e7.tar.bz2
drakx-b653de526b0a1cb7556ad744facae34b42c645e7.tar.xz
drakx-b653de526b0a1cb7556ad744facae34b42c645e7.zip
stage2 now builds the full mdkinst, and full_stage2 is stage2 + building mdkinst_stage2
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 342bf3e26..153506491 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -196,16 +196,16 @@ endif
find $(DEST) -name CVS | xargs rm -rf
full_stage2:
- if [ `id -u` = 0 ]; then rm -rf $(DEST); else $(SUDO) rm -rf $(DEST); fi
- mkdir -p $(DEST)
- $(MAKE) get_needed_files
$(MAKE) stage2
+ $(ROOTDEST)/misc/make_mdkinst_stage2 $(DEST) $(ROOTDEST)/Mandrake/base/mdkinst_stage2
stage2:
+ if [ `id -u` = 0 ]; then rm -rf $(DEST); else $(SUDO) rm -rf $(DEST); fi
+ mkdir -p $(DEST)
+ $(MAKE) get_needed_files
$(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