diff options
author | raveit65 <[email protected]> | 2018-11-19 09:09:52 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-11-19 11:26:37 +0100 |
commit | f90d1571d838938f6950b62ec089e004bbbaf373 (patch) | |
tree | c3c82835c1f6a58d0567d9ea40283a484e00b7bd | |
parent | c2750bbf581b358d6dfed3b5b09ff3f376f1b02f (diff) | |
download | mate-user-guide-f90d1571d838938f6950b62ec089e004bbbaf373.tar.bz2 mate-user-guide-f90d1571d838938f6950b62ec089e004bbbaf373.tar.xz |
Use make functions for HELP_LINGUAS
-rw-r--r-- | mate-user-guide/Makefile.am | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mate-user-guide/Makefile.am b/mate-user-guide/Makefile.am index a932feb..cc94808 100644 --- a/mate-user-guide/Makefile.am +++ b/mate-user-guide/Makefile.am @@ -73,13 +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@ |