From de07670692bb9c69dc73886fa31cdc2dd21d6ce3 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 19 Nov 2018 09:09:52 +0100 Subject: Use make functions for HELP_LINGUAS --- mate-user-guide/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mate-user-guide/Makefile.am b/mate-user-guide/Makefile.am index 3ad29c7..cc94808 100644 --- a/mate-user-guide/Makefile.am +++ b/mate-user-guide/Makefile.am @@ -73,11 +73,11 @@ HELP_MEDIA = \ figures/yelp_preferences.png \ figures/yelp_window.png -HELP_LINGUAS = af am ar as ast az be bg bn bn_IN br bs ca ca@valencia cmn crh \ - cs cy da de dz el en_AU en_CA en_GB eo es es_CO et eu fa fi fr ga \ - gl gu he hi hr hu hy id is it ja ka kk kn ko ku ku_IQ ky lt lv mai \ - mg mk ml mn mr ms nb nds ne nl nn oc or pa pl ps pt pt_BR ro ru si \ - sk sl sq sr sr@latin sv ta te th tr ug uk ur uz vi xh 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))) ) @INTLTOOL_DESKTOP_RULE@ -- cgit v1.2.1