From 3caf2ace26ef70765e29738f3b8b4a98eb8220df 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 --- drivemount/help/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'drivemount/help/Makefile.am') diff --git a/drivemount/help/Makefile.am b/drivemount/help/Makefile.am index 197df0a0..3c5fd9fd 100644 --- a/drivemount/help/Makefile.am +++ b/drivemount/help/Makefile.am @@ -9,6 +9,10 @@ HELP_MEDIA = figures/drivemount-applet_eject.png \ figures/drivemount-applet_open.png \ figures/drivemount-applet_status.png -HELP_LINGUAS = ca cs da de el en_GB es eu fi fr it ko oc pa ru 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