summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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=%)