summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-04 17:59:18 +0200
committerraveit65 <[email protected]>2018-10-06 22:09:14 +0200
commit49a85ee6c88b7e68b6be14367430dfd150d01289 (patch)
tree258c2881021a93006200dd52387f2dee38f78403 /help
parenta6e4be7b214003d64890e8bdc62370fa0308c751 (diff)
downloadeom-49a85ee6c88b7e68b6be14367430dfd150d01289.tar.bz2
eom-49a85ee6c88b7e68b6be14367430dfd150d01289.tar.xz
Use make functions for HELP_LINGUAS
Diffstat (limited to 'help')
-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