From 8c38ae63f31f06a3aee09cb494ffccfdedbe9549 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 4 Oct 2018 17:45:06 +0200 Subject: Use make functions for HELP_LINGUAS --- logview/help/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'logview/help') 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))) ) -- cgit v1.2.1