From 4dfae40e238b0946a40bec1a55b654e44f86f26b Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 4 Oct 2018 18:08:14 +0200 Subject: Use make functions for HELP_LINGUAS --- help/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'help') diff --git a/help/Makefile.am b/help/Makefile.am index 863f554..abba156 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -17,4 +17,8 @@ HELP_MEDIA = \ figures/gpm-unplugged.png \ figures/gs-prefs.png -HELP_LINGUAS = ca de el en_GB es eu fi fr hu it oc pa ru sv zh_CN +# 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))) ) -- cgit v1.2.1