Skip to content

Commit de07670

Browse files
author
raveit65
committed
Use make functions for HELP_LINGUAS
1 parent a0a76c7 commit de07670

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mate-user-guide/Makefile.am

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ HELP_MEDIA = \
7373
figures/yelp_preferences.png \
7474
figures/yelp_window.png
7575

76-
HELP_LINGUAS = af am ar as ast az be bg bn bn_IN br bs ca ca@valencia cmn crh \
77-
cs cy da de dz el en_AU en_CA en_GB eo es es_CO et eu fa fi fr ga \
78-
gl gu he hi hr hu hy id is it ja ka kk kn ko ku ku_IQ ky lt lv mai \
79-
mg mk ml mn mr ms nb nds ne nl nn oc or pa pl ps pt pt_BR ro ru si \
80-
sk sl sq sr sr@latin sv ta te th tr ug uk ur uz vi xh zh_CN zh_HK zh_TW
76+
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
77+
IGNORE_HELP_LINGUAS =
78+
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
79+
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
80+
$(subst /,,$(dir $(wildcard */*.po))) )
8181

8282
@INTLTOOL_DESKTOP_RULE@
8383

0 commit comments

Comments
 (0)