summaryrefslogtreecommitdiff
path: root/logview/help
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-04 17:45:06 +0200
committerraveit65 <[email protected]>2018-10-06 20:08:23 +0200
commit8c38ae63f31f06a3aee09cb494ffccfdedbe9549 (patch)
tree5a52e9cd9dfbe3b3f1c1f416d224c7792fb32c17 /logview/help
parent53735a4f6779d030aeb93c291e1cb88e8a87fba6 (diff)
downloadmate-utils-8c38ae63f31f06a3aee09cb494ffccfdedbe9549.tar.bz2
mate-utils-8c38ae63f31f06a3aee09cb494ffccfdedbe9549.tar.xz
Use make functions for HELP_LINGUAS
Diffstat (limited to 'logview/help')
-rw-r--r--logview/help/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/logview/help/Makefile.am b/logview/help/Makefile.am
index be63d4f4..249a78a8 100644
--- a/logview/help/Makefile.am
+++ b/logview/help/Makefile.am
@@ -5,4 +5,8 @@ HELP_FILES = index.docbook legal.xml
HELP_MEDIA = \
figures/syslog_window.png
-HELP_LINGUAS = ca cs de el en_GB es eu fi fr it ko oc ru sv uk zh_CN
+# 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))) )