summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-18 13:12:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-18 13:12:55 +0000
commit61b70e411420ccdc1d55bc89b845b7533b3ed81a (patch)
tree6c2663c6b567d0b6b36a83a82c6c1867464928b2
parentc0a957a35ac3e39a0e771138a362c4a04f65a1e0 (diff)
downloaddrakx-61b70e411420ccdc1d55bc89b845b7533b3ed81a.tar
drakx-61b70e411420ccdc1d55bc89b845b7533b3ed81a.tar.gz
drakx-61b70e411420ccdc1d55bc89b845b7533b3ed81a.tar.bz2
drakx-61b70e411420ccdc1d55bc89b845b7533b3ed81a.tar.xz
drakx-61b70e411420ccdc1d55bc89b845b7533b3ed81a.zip
don't remove some po's from drakxtools, only from install
(ar/fa disabled because not working at install, ga/sl not translated enough)
-rw-r--r--perl-install/Makefile4
-rw-r--r--perl-install/share/po/Makefile6
2 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 3e8335115..d8b9d4d65 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -183,6 +183,10 @@ endif
$(MAKE) -C share/po install NAME=libDrakX LOCALEDIR=$(DEST)/usr/share/locale_special
+# ar and fa are disabled as arabic font doesn't work on install
+# ga and sl are disabled because too few messages are translated
+ rm -rf $(DEST)/usr/share/locale_special/{ar,fa,ga,sl}
+
# echo -e '#!/bin/sh\n\nexec "/usr/bin/sh"' > $(DEST)/usr/bin/runinstall2
# chmod a+x $(DEST)/usr/bin/runinstall2
diff --git a/perl-install/share/po/Makefile b/perl-install/share/po/Makefile
index 29281efdc..ad4860d9b 100644
--- a/perl-install/share/po/Makefile
+++ b/perl-install/share/po/Makefile
@@ -2,11 +2,7 @@ include ../../Makefile.config
PMSFILES = $(wildcard $(ALLPMS:%=../../%))
-# temporarly don't include those po files
-# (too low translation percentage)
-# ar.po and fa.po are disabled as arabic font doesn't work on install
-POFILES = $(shell ls *.po|grep -v '\(ar.po\|fa.po\|ga.po\|sl.po\)')
-
+POFILES = $(wildcard *.po)
MOFILES = $(POFILES:%.po=%.mo)
LANGS = $(POFILES:%.po=%)