From 3caf2ace26ef70765e29738f3b8b4a98eb8220df Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 4 Oct 2018 14:04:36 +0200 Subject: Use make functions for HELP_LINGUAS --- netspeed/help/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'netspeed') diff --git a/netspeed/help/Makefile.am b/netspeed/help/Makefile.am index a129ff2c..4f65c606 100644 --- a/netspeed/help/Makefile.am +++ b/netspeed/help/Makefile.am @@ -14,6 +14,10 @@ HELP_MEDIA = \ figures/settings.png \ figures/wavelan.png -HELP_LINGUAS = de el fr pt_BR sv +# 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 -- cgit v1.2.1