From 81b480b2fa5957d20c1d5a64af7c8b0ac358e66e Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 4 Oct 2018 17:52:27 +0200 Subject: Use make functions for HELP_LINGUAS --- help/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'help') diff --git a/help/Makefile.am b/help/Makefile.am index 4eea6ea4..fd1c9a2b 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -6,7 +6,10 @@ HELP_MEDIA = \ figures/pluma_recent_files_menu_icon.png \ figures/pluma_window.png -HELP_LINGUAS = ar bg ca cs da de el es fi fr hu it ja ko oc pt_BR ru 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