diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-15 14:33:40 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-15 14:33:40 +0000 |
commit | 4eb12bd3c2b072e0a8b1b22422104b8d71f245d1 (patch) | |
tree | b7166f7ae34ab30580c417095318181c445cc6ba /move/Makefile | |
parent | 4bb042efd8ca9b9cf5f40e66187d9708877a79a5 (diff) | |
download | drakx-backup-do-not-use-4eb12bd3c2b072e0a8b1b22422104b8d71f245d1.tar drakx-backup-do-not-use-4eb12bd3c2b072e0a8b1b22422104b8d71f245d1.tar.gz drakx-backup-do-not-use-4eb12bd3c2b072e0a8b1b22422104b8d71f245d1.tar.bz2 drakx-backup-do-not-use-4eb12bd3c2b072e0a8b1b22422104b8d71f245d1.tar.xz drakx-backup-do-not-use-4eb12bd3c2b072e0a8b1b22422104b8d71f245d1.zip |
have necessary png lang files installed and limit percent-langs of langs.pm accordingly
Diffstat (limited to 'move/Makefile')
-rw-r--r-- | move/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/move/Makefile b/move/Makefile index 77712c765..d558d6b42 100644 --- a/move/Makefile +++ b/move/Makefile @@ -3,6 +3,7 @@ DEST_LIVETREE = /tmp/live_tree DEST_STAGE2 = $(DEST_LIVETREE)/usr/bin/stage2 DATA_FILES = devices symlinks +LANG_FILES = $(shell perl -ne 'print $$1 if /ALLOWED_LANGS = qw\((.*)\)/' move.pm) STAGE1 = ../mdk-stage1 INSTALL = ../perl-install @@ -26,6 +27,10 @@ install: build sudo cp -f *.pm $(DEST_STAGE2) sudo cp -f $(addprefix $(INSTALL)/, $(INSTALL_FILES)) $(DEST_STAGE2) + sudo rm -rf $(DEST_LIVETREE)/usr/share/langs + sudo mkdir -p $(DEST_LIVETREE)/usr/share/langs + sudo cp -f $(patsubst %, $(INSTALL)/pixmaps/langs/lang-%.png, $(LANG_FILES)) $(DEST_LIVETREE)/usr/share/langs + #- overwrite /usr/lib/libDrakX files of the live tree with those in CVS sudo cp -f $(addprefix $(INSTALL)/, $(shell cd $(DEST_LIVETREE)/usr/lib/libDrakX ; ls *.pm)) $(DEST_LIVETREE)/usr/lib/libDrakX || : |