summaryrefslogtreecommitdiff
path: root/mate-user-guide/Makefile.am
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-11-19 09:09:52 +0100
committerraveit65 <[email protected]>2018-11-19 09:17:10 +0100
commitde07670692bb9c69dc73886fa31cdc2dd21d6ce3 (patch)
tree8f45b86cd998cea4256205e159d3c0e14fe39220 /mate-user-guide/Makefile.am
parenta0a76c7e6ac64b290e763e3e734031dc715cf7b9 (diff)
downloadmate-user-guide-de07670692bb9c69dc73886fa31cdc2dd21d6ce3.tar.bz2
mate-user-guide-de07670692bb9c69dc73886fa31cdc2dd21d6ce3.tar.xz
Use make functions for HELP_LINGUAS
Diffstat (limited to 'mate-user-guide/Makefile.am')
-rw-r--r--mate-user-guide/Makefile.am10
1 files 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@