summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-27 23:34:24 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-27 23:34:24 +0000
commita7f6e83d669be2b2b8649ab198159972e890072e (patch)
treeaa04618b1df023d0b16e25975fddb58dda794a8b /perl-install/Makefile
parentf4de5e067c51b8200230eda2ae3a973cf9052426 (diff)
downloaddrakx-backup-do-not-use-a7f6e83d669be2b2b8649ab198159972e890072e.tar
drakx-backup-do-not-use-a7f6e83d669be2b2b8649ab198159972e890072e.tar.gz
drakx-backup-do-not-use-a7f6e83d669be2b2b8649ab198159972e890072e.tar.bz2
drakx-backup-do-not-use-a7f6e83d669be2b2b8649ab198159972e890072e.tar.xz
drakx-backup-do-not-use-a7f6e83d669be2b2b8649ab198159972e890072e.zip
error out when a listed lang doesn't have a png lang file
when doing the check of lang.pm, first show the warnings, then the errors at make-install time, remove pang lang files corresponding to disabled langs
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 13d0de222..9aea2d732 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -165,6 +165,7 @@ endif
cd share ; cp -a consolefonts $(DEST)/usr/share
-cd share ; cp -f *.png $(DEST)/usr/share
-cd pixmaps ; cp -af *.png *.xpm langs $(DEST)/usr/share ; rm -f $(DEST)/usr/share/wiz_*
+ unneeded=`perl -I. -Mlang -e 'lang::get_unneeded_png_lang_files'`; cd $(DEST)/usr/share; rm -f $$unneeded
cd share ; cp compssUsers compssUsers.* rpmsrate $(ROOTDEST)/Mandrake/base
clean-rpmsrate $(ROOTDEST)/Mandrake/base/rpmsrate $(ROOTDEST)/Mandrake/RPMS*