From ff7769b5346ba40137570417fb29e7dd386b3150 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 6 Oct 2018 20:08:10 +0200 Subject: Use make functions for HELP_LINGUAS --- help/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/help/Makefile.am b/help/Makefile.am index da9ec62..828044f 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -3,4 +3,9 @@ HELP_ID = mate-sensors-applet HELP_FILES = index.docbook legal.xml HELP_MEDIA = figures/applet_in_panel.png -HELP_LINGUAS = + +# 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