diff options
author | rbuj <[email protected]> | 2018-10-04 17:59:18 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-10-06 22:09:14 +0200 |
commit | 49a85ee6c88b7e68b6be14367430dfd150d01289 (patch) | |
tree | 258c2881021a93006200dd52387f2dee38f78403 /help | |
parent | a6e4be7b214003d64890e8bdc62370fa0308c751 (diff) | |
download | eom-49a85ee6c88b7e68b6be14367430dfd150d01289.tar.bz2 eom-49a85ee6c88b7e68b6be14367430dfd150d01289.tar.xz |
Use make functions for HELP_LINGUAS
Diffstat (limited to 'help')
-rw-r--r-- | help/Makefile.am | 6 |
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 |