From a279b863df83352c06869e4ecd328593ab1039ed Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 6 Oct 2018 20:18:38 +0200 Subject: Use make functions for HELP_LINGUAS --- help/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/help/Makefile.am b/help/Makefile.am index 66caf06..fe66358 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -29,7 +29,11 @@ HELP_FILES = absolute.page \ trigonometry.page \ variables.page -HELP_LINGUAS = bg ca cs de el es eu fi fr gl hu it ja ko lv oc pt_BR ro ru sl sv te zh_CN zh_HK zh_TW +# 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))) ) DISTCLEANFILES = \ Makefile.in -- cgit v1.2.1