summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/install/Makefile b/perl-install/install/Makefile
index 405cd9904..da3b5303c 100644
--- a/perl-install/install/Makefile
+++ b/perl-install/install/Makefile
@@ -47,8 +47,10 @@ install:
install_pms:
[ -d $(DEST) ] || ../../tools/mdkinst_stage2_tool --uncompress $(STAGE2_DEST)
+# commands implemented in perl:
for i in `perl -ne 's/sub (\w+?)_?(\(\))? {.*/$$1/ and print' commands.pm` sync; do ln -sf commands $(DEST)/usr/bin/$$i; done
+# install & clean perl modules:
install -d $(DESTREP4PMS)
cd .. ; for i in $(PMS); do \
dest=$(DESTREP4PMS)/`dirname $$i`; \
@@ -61,6 +63,7 @@ install_pms:
chmod a+x $(DESTREP4PMS)/install/commands
get_needed_files: xs
+# generate installer system:
REP4PMS=$(REP4PMS) ../../tools/install-xml-file-list share/list.xml $(DEST)
chmod u-s -R $(DEST) # for mount/umount
share/generate-xlocales $(DEST)
@@ -70,16 +73,20 @@ get_needed_files: xs
perl -I.. -Mlang -e 'symlink "UTF-8", "$(DEST)/usr/share/locale/$$_" foreach lang::list_langs()'
+# various needed soft links (eg for ndiswrapper):
perl -ane 'symlink "$$F[1]", "$(DEST)$$F[0]"' share/aliases
+# default shell:
ifeq (ia64,$(ARCH))
ln -sf bash $(DEST)/bin/sh
else
ln -sf ash $(DEST)/bin/sh
endif
+# X11 font caches:
mkfontdir $(DEST)/usr/share/fonts
fc-cache -f $(DEST)/usr/share/fonts
+# drakx translations:
$(MAKE) -C ../share/po install SUDO= LOCALEDIR=$(DEST)/usr/share/locale_special
$(MAKE) -C help/po install SUDO= LOCALEDIR=$(DEST)/usr/share/locale_special
$(MAKE) -C share/po install SUDO= LOCALEDIR=$(DEST)/usr/share/locale_special