summaryrefslogtreecommitdiff
path: root/geyes/docs
diff options
context:
space:
mode:
Diffstat (limited to 'geyes/docs')
-rw-r--r--geyes/docs/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/geyes/docs/Makefile.am b/geyes/docs/Makefile.am
index 5e85b96a..43cd82dc 100644
--- a/geyes/docs/Makefile.am
+++ b/geyes/docs/Makefile.am
@@ -5,6 +5,10 @@ HELP_FILES = index.docbook legal.xml
HELP_MEDIA = figures/geyes_applet.png
-HELP_LINGUAS = ast bg ca cs da de el en_GB es eu fi fr it ko oc ru sv uk zh_CN zh_HK zh_TW
+# 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