From ac89c5a9baebbac4eeffae44aa6424f53d3519ac Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 4 Oct 2018 18:14:33 +0200 Subject: Use make functions for HELP_LINGUAS --- help/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/help/Makefile.am b/help/Makefile.am index c19463c..e46888f 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -6,10 +6,10 @@ HELP_MEDIA = figures/mate-terminal-default.png \ figures/mate-terminal-tabbed.png # figures/terminal-window.png This image is not used. -HELP_LINGUAS = da de ca cs el en_GB es fr it ko oc pt_BR ru sv uk zh_CN - - -# Move to HELP_LINGUAS in transition to yelp-tools -#SUBDIRS = bg ro ja 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