summaryrefslogtreecommitdiff
path: root/charpick
diff options
context:
space:
mode:
Diffstat (limited to 'charpick')
-rw-r--r--charpick/help/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/charpick/help/Makefile.am b/charpick/help/Makefile.am
index d2a17097..95a1531c 100644
--- a/charpick/help/Makefile.am
+++ b/charpick/help/Makefile.am
@@ -7,6 +7,10 @@ HELP_MEDIA = figures/charpalette_applet.png \
figures/charpick_characters.png \
figures/charpick-preferences.png
-HELP_LINGUAS = bg ca cs de el en_GB es eu fi fr it ko nl oc pt_BR ru sv uk zh_CN
+# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
+IGNORE_HELP_LINGUAS =
+HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
+ $(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
+ $(subst /,,$(dir $(wildcard */*.po))) )
-include $(top_srcdir)/git.mk