summaryrefslogtreecommitdiffstats
path: root/perl-install/install/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:25:32 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:25:32 +0000
commitded5dfc39d0a26b20a70b3802299cc0f20dfc6f3 (patch)
tree59be6e031b406fc1c54f51db505c3677dac83235 /perl-install/install/Makefile
parentedebda2f1b87e76cdbc7d50eef95d1a75360016d (diff)
downloaddrakx-backup-do-not-use-ded5dfc39d0a26b20a70b3802299cc0f20dfc6f3.tar
drakx-backup-do-not-use-ded5dfc39d0a26b20a70b3802299cc0f20dfc6f3.tar.gz
drakx-backup-do-not-use-ded5dfc39d0a26b20a70b3802299cc0f20dfc6f3.tar.bz2
drakx-backup-do-not-use-ded5dfc39d0a26b20a70b3802299cc0f20dfc6f3.tar.xz
drakx-backup-do-not-use-ded5dfc39d0a26b20a70b3802299cc0f20dfc6f3.zip
document
Diffstat (limited to 'perl-install/install/Makefile')
-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