summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-04 17:59:18 +0200
committerraveit65 <[email protected]>2018-10-06 22:07:27 +0200
commit5e245f8aead25e79ecf4d50723f72356bfc8362f (patch)
tree2bc37facb40c77f25c7748e2979568171709fe54
parent788f977db53f5a2951630ee1d745e30d6a34c734 (diff)
downloadeom-5e245f8aead25e79ecf4d50723f72356bfc8362f.tar.bz2
eom-5e245f8aead25e79ecf4d50723f72356bfc8362f.tar.xz
Use make functions for HELP_LINGUAS
-rw-r--r--help/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/help/Makefile.am b/help/Makefile.am
index 8d67539..027b679 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -7,6 +7,10 @@ HELP_MEDIA = \
figures/eom_start_window.png \
figures/eom_toolbar_editor_window.png
-HELP_LINGUAS = ar ca cs da de el en_GB es eu fi fr it ja ko oc pa pl pt_BR ru sv th uk zh_CN 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