diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-07-08 17:52:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-07-08 17:52:56 +0000 |
commit | c8b361905dedbe2961b4e3c1670d5028eec12807 (patch) | |
tree | abfaeba4d6da0e98be76fd48ba2f4a4e8ad73f04 /perl-install/Makefile | |
parent | 755e511024f29df150d9d150d19c849e59c1e216 (diff) | |
download | drakx-c8b361905dedbe2961b4e3c1670d5028eec12807.tar drakx-c8b361905dedbe2961b4e3c1670d5028eec12807.tar.gz drakx-c8b361905dedbe2961b4e3c1670d5028eec12807.tar.bz2 drakx-c8b361905dedbe2961b4e3c1670d5028eec12807.tar.xz drakx-c8b361905dedbe2961b4e3c1670d5028eec12807.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r-- | perl-install/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile index d71fdb961..1e8321b0b 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -63,11 +63,12 @@ full_tar: get_needed_files: $(SO_FILES) export PERL_INSTALL_TEST=1 ; strace -f -e trace=file -o '| grep -v "(No such file or directory)" | sed -e "s/[^\"]*\"//" -e "s/\".*//" | grep "^/" | grep -v -e "^/tmp" -e "^/home" -e "^/proc" -e "^/var" -e "^/dev" -e "^/etc" -e "^/usr/lib/rpm" > /tmp/list ' $(PERL) -d install2.pm < /dev/null + perl -pi -e 's|/usr/local/|/usr/|' /tmp/list install -d $(DEST)/bin install -d $(DEST)/usr/bin for i in $(BINS) `grep "\.so" /tmp/list`; do \ - install -s $$i $(DEST)/usr/bin; \ + install -s $$i $(DEST)/lib; \ ldd $$i | sed -e 's/.*=> //' -e 's/ .*//' >> /tmp/list; \ done for i in `sort /tmp/list | uniq`; do \ @@ -98,6 +99,7 @@ as_root: full_stage2: rm -rf $(DEST)/[^M]* + ln -sf .. $(DEST)/Mandrake/instimage @#mkdir -p $(DEST)/Mandrake/base @#ln -s .. $(DEST)/Mandrake/instimage $(MAKE) get_needed_files |