summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-04-26 15:35:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-04-26 15:35:11 +0000
commite17658a8f6902a04280dc362cc51746f86abd726 (patch)
tree422a57e65809e522f0db0b0717000ef636469e45 /perl-install/Makefile
parent8a710a221b90ab486caa14f9db7087340f67b457 (diff)
downloaddrakx-backup-do-not-use-e17658a8f6902a04280dc362cc51746f86abd726.tar
drakx-backup-do-not-use-e17658a8f6902a04280dc362cc51746f86abd726.tar.gz
drakx-backup-do-not-use-e17658a8f6902a04280dc362cc51746f86abd726.tar.bz2
drakx-backup-do-not-use-e17658a8f6902a04280dc362cc51746f86abd726.tar.xz
drakx-backup-do-not-use-e17658a8f6902a04280dc362cc51746f86abd726.zip
start simplifying "make stage2"
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 6afa75db1..b89ebce0a 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -112,8 +112,6 @@ get_needed_files: $(DIRS) mo_files
ldd $$i 2>/dev/null | grep "=>" | perl -pe 's/.*=> //; s/ .*//; s,^/(lib(64)?)/.*?/,/\1/,' | sort | uniq >> $(TMPDIR)/list; \
done
- perl -Mlang -I. -e 'print "$$_\n" foreach lang::console_font_files()' >> $(TMPDIR)/list
-
install -d $(DEST)/etc
install -d $(DEST)/etc/sysconfig/network-scripts
install -d $(DEST)/lib
@@ -129,8 +127,8 @@ get_needed_files: $(DIRS) mo_files
install -d $(DEST)/usr/X11R6/lib/X11/locale
install -d $(MEDIA_INFO_DEST)
install -s $(LOCALFILES) $(DEST)/usr/bin
-# cp -f $(LOCALFILES2) $(DEST)/usr/bin
- ln -s ../X11R6/lib/X11 $(DEST)/usr/lib/X11
+
+ cp -a /usr/lib/X11 $(DEST)/usr/lib
ifeq (sparc,$(ARCH))
cp -a /usr/X11R6/lib/X11/xkb $(DEST)/usr/X11R6/lib/X11
rm -f $(DEST)/usr/X11R6/lib/X11/xkb/compiled
@@ -143,6 +141,8 @@ ifeq (y,$(USE_PCMCIA))
install -s /sbin/cardmgr $(DEST)/usr/bin
endif
+ perl -Mlang -I. -e 'print "$$_\n" foreach lang::console_font_files()' | cpio -pdu $(DEST)
+
for i in `cat $(TMPDIR)/list`; do \
if (echo $$i | grep -q "lib/[^/]*\.so"); then \
install -s $$i $(DEST)/lib; \
@@ -165,8 +165,8 @@ endif
../tools/simplify-drakx-modules $(DEST)/usr/*/*/*/utf8_heavy.pl
mv -f $(DEST)/bin/* $(DEST)/sbin/* $(DEST)/usr/bin
- cd $(DEST)/usr/bin ; mv insmod insmod_
rmdir $(DEST)/bin $(DEST)/sbin
+ cd $(DEST)/usr/bin ; mv insmod insmod_
perl -pe 's!^echo!/usr/bin/echo!' /bin/unicode_start > $(DEST)/usr/bin/unicode_start
chmod a+x $(DEST)/usr/bin/unicode_start