summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-11-07 19:14:26 +0000
committerFrancois Pons <fpons@mandriva.com>1999-11-07 19:14:26 +0000
commit5fe426f2d1024c2a73791ffdafc2404bfccb8736 (patch)
tree78086e10a885260845b33785663530503a13d104 /perl-install/Makefile
parentfe9d92c84e2888c470a72d903b78f74288c84a9b (diff)
downloaddrakx-5fe426f2d1024c2a73791ffdafc2404bfccb8736.tar
drakx-5fe426f2d1024c2a73791ffdafc2404bfccb8736.tar.gz
drakx-5fe426f2d1024c2a73791ffdafc2404bfccb8736.tar.bz2
drakx-5fe426f2d1024c2a73791ffdafc2404bfccb8736.tar.xz
drakx-5fe426f2d1024c2a73791ffdafc2404bfccb8736.zip
*** empty log message ***
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index a6cae4b8e..532956cfc 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -11,7 +11,7 @@ BASE = $(ROOTDEST)/Mandrake/base
DESTREP4PMS = $(DEST)$(REP4PMS)
STAGE2TMP = /tmp/stage2_tmp
PERL = perl
-LOCALFILES = pnp_serial mouseconfig ddcxinfos
+LOCALFILES = pnp_serial mouseconfig ddcxinfos extract_archive
DIRS = c po pci_probing resize_fat
EXCLUDE = $(LOCALFILES) boot.img keymaps consolefonts install
RPMS = $(wildcard $(ROOTDEST)/Mandrake/RPMS/*.rpm)
@@ -105,7 +105,7 @@ get_needed_files: $(DIRS)
install -d $(DEST)/usr/share/gtk
install -d $(DEST)/usr/share/xmodmap
install -d $(ROOTDEST)/Mandrake/base
- install -s $(LOCALFILES) $(DEST)/usr/bin
+ cp -af $(LOCALFILES) $(DEST)/usr/bin
for i in `cat /tmp/list`; do \
if (echo $$i | grep -q "lib/[^/]*\.so"); then \
@@ -143,9 +143,14 @@ get_needed_files: $(DIRS)
cp -a themes $(DEST)/usr/share/gtk
cp compss compssUsers compssList $(ROOTDEST)/Mandrake/base
- cp -f ../modules/modules.cpio.bz2 $(DEST)/lib/
- install -d $(DEST)/lib/modules
- cp -f ../modules/pristine/* $(DEST)/lib/modules
+ if [ -f "../modules/modules.cz2" ]; then \
+ cp -f ../modules/modules.cz2 $(DEST)/lib/; \
+ cp -f ../modules/modules.cz2.pl $(DEST)/lib/; \
+ else \
+ cp -f ../modules/modules.cpio.bz2 $(DEST)/lib/; \
+ install -d $(DEST)/lib/modules; \
+ cp -f ../modules/pristine/* $(DEST)/lib/modules; \
+ fi
ln -s install2 $(DEST)/usr/bin/runinstall2
# echo -e "#!/bin/sh\n\nexec '/usr/bin/sh'" > $(DEST)/usr/bin/runinstall2