diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:25:32 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:25:32 +0000 |
commit | ed274a7235cc943ccc69543b9972544e9b2ecd57 (patch) | |
tree | 59be6e031b406fc1c54f51db505c3677dac83235 /perl-install | |
parent | 6bd1ed902caf5beac68a83eef897f42767eb7562 (diff) | |
download | drakx-ed274a7235cc943ccc69543b9972544e9b2ecd57.tar drakx-ed274a7235cc943ccc69543b9972544e9b2ecd57.tar.gz drakx-ed274a7235cc943ccc69543b9972544e9b2ecd57.tar.bz2 drakx-ed274a7235cc943ccc69543b9972544e9b2ecd57.tar.xz drakx-ed274a7235cc943ccc69543b9972544e9b2ecd57.zip |
document
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/Makefile | 7 |
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 |