From e17658a8f6902a04280dc362cc51746f86abd726 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 26 Apr 2005 15:35:11 +0000 Subject: start simplifying "make stage2" --- perl-install/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'perl-install/Makefile') 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 -- cgit v1.2.1