diff options
-rw-r--r-- | mate-user-guide/Makefile.am | 10 |
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@ |