summaryrefslogtreecommitdiffstats
path: root/perl-install/install/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-07-24 10:34:13 +0000
committerThierry Vignaud <tv@mageia.org>2012-07-24 10:34:13 +0000
commit434e03bda42ba37c664e4e5e0b5c8ae106b1bd0c (patch)
tree357ea18dd9e72872063d7a39844434bec8fd0bcd /perl-install/install/Makefile
parent6e283a64ba3929951ac5da6d1e2eb68722d43d3c (diff)
downloaddrakx-backup-do-not-use-434e03bda42ba37c664e4e5e0b5c8ae106b1bd0c.tar
drakx-backup-do-not-use-434e03bda42ba37c664e4e5e0b5c8ae106b1bd0c.tar.gz
drakx-backup-do-not-use-434e03bda42ba37c664e4e5e0b5c8ae106b1bd0c.tar.bz2
drakx-backup-do-not-use-434e03bda42ba37c664e4e5e0b5c8ae106b1bd0c.tar.xz
drakx-backup-do-not-use-434e03bda42ba37c664e4e5e0b5c8ae106b1bd0c.zip
minimal adapt to /usr move
Diffstat (limited to 'perl-install/install/Makefile')
-rw-r--r--perl-install/install/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/Makefile b/perl-install/install/Makefile
index 79662f95a..62a17b6c1 100644
--- a/perl-install/install/Makefile
+++ b/perl-install/install/Makefile
@@ -105,9 +105,10 @@ compress:
stage2:
rm -rf $(DEST)
- mkdir -p $(DEST)
+ mkdir -p $(DEST)/usr
$(MAKE) get_needed_files
$(MAKE) install_pms
+ for i in bin ; do mv $(DEST)/$$i/* $(DEST)/usr/$$i; rmdir $(DEST)/$$i; ln -s /usr/$$i $(DEST); done
dont_run_directly_stage2:
[ -d $(DEST) ] || ../../tools/mdkinst_stage2_tool --uncompress $(STAGE2_DEST)