From 43a64acc08d3a7dfce7d5432c5ef0e45c7406874 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 4 Oct 2018 14:04:36 +0200 Subject: Use make functions for HELP_LINGUAS --- accessx-status/docs/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'accessx-status') diff --git a/accessx-status/docs/Makefile.am b/accessx-status/docs/Makefile.am index fd160e66..5f675cd9 100644 --- a/accessx-status/docs/Makefile.am +++ b/accessx-status/docs/Makefile.am @@ -14,6 +14,10 @@ HELP_MEDIA = figures/accessx_bounce-keys.png \ figures/accessx_sticky-shift-key.png \ figures/accessx_sticky-windows-key.png -HELP_LINGUAS = bg ca cs de el en_GB es eu fi fr gl it ko nl oc sv uk 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))) ) -include $(top_srcdir)/git.mk -- cgit v1.2.1