summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--help/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/help/Makefile.am b/help/Makefile.am
index 863f554..abba156 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -17,4 +17,8 @@ HELP_MEDIA = \
figures/gpm-unplugged.png \
figures/gs-prefs.png
-HELP_LINGUAS = ca de el en_GB es eu fi fr hu it oc pa ru sv 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))) )