From 4302754bb391805b690d99a47adf52b8e348f88a Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 15 Nov 2018 14:35:46 +0100 Subject: Use make functions for HELP_LINGUAS --- help/mate-clock/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'help/mate-clock') diff --git a/help/mate-clock/Makefile.am b/help/mate-clock/Makefile.am index 18b35d4c..7c652597 100644 --- a/help/mate-clock/Makefile.am +++ b/help/mate-clock/Makefile.am @@ -8,6 +8,10 @@ HELP_FILES = \ HELP_MEDIA = figures/clock_applet.png -HELP_LINGUAS = ar ca cs da de el en_GB es eu fi fr it ja ko nl oc pa pt pt_BR ru sr sv th uk 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))) ) -include $(top_srcdir)/git.mk -- cgit v1.2.1