From a7f6e83d669be2b2b8649ab198159972e890072e Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 27 Feb 2003 23:34:24 +0000 Subject: 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 --- perl-install/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/Makefile') 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* -- cgit v1.2.1