summaryrefslogtreecommitdiffstats
path: root/perl-install/install/Makefile
diff options
context:
space:
mode:
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)