From 49a85ee6c88b7e68b6be14367430dfd150d01289 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 4 Oct 2018 17:59:18 +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 8d67539..027b679 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -7,6 +7,10 @@ HELP_MEDIA = \ figures/eom_start_window.png \ figures/eom_toolbar_editor_window.png -HELP_LINGUAS = ar ca cs da de el en_GB es eu fi fr it ja ko oc pa pl pt_BR ru sv th uk zh_CN 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))) ) -include $(top_srcdir)/git.mk -- cgit v1.2.1