diff options
author | rbuj <[email protected]> | 2018-10-04 17:45:06 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-10-06 20:08:23 +0200 |
commit | 8c38ae63f31f06a3aee09cb494ffccfdedbe9549 (patch) | |
tree | 5a52e9cd9dfbe3b3f1c1f416d224c7792fb32c17 /gsearchtool | |
parent | 53735a4f6779d030aeb93c291e1cb88e8a87fba6 (diff) | |
download | mate-utils-8c38ae63f31f06a3aee09cb494ffccfdedbe9549.tar.bz2 mate-utils-8c38ae63f31f06a3aee09cb494ffccfdedbe9549.tar.xz |
Use make functions for HELP_LINGUAS
Diffstat (limited to 'gsearchtool')
-rw-r--r-- | gsearchtool/help/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gsearchtool/help/Makefile.am b/gsearchtool/help/Makefile.am index 08860198..ad59d979 100644 --- a/gsearchtool/help/Makefile.am +++ b/gsearchtool/help/Makefile.am @@ -3,6 +3,10 @@ HELP_ID = mate-search-tool HELP_FILES = index.docbook legal.xml -HELP_LINGUAS = ca cs de el en_GB es eu fi fr it ko oc ru sv uk zh_CN - HELP_MEDIA = figures/mate-search-tool_window.png + +# 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))) ) |