diff options
Diffstat (limited to 'mateweather/docs/Makefile.am')
-rw-r--r-- | mateweather/docs/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mateweather/docs/Makefile.am b/mateweather/docs/Makefile.am index ce3456dc..4def65e5 100644 --- a/mateweather/docs/Makefile.am +++ b/mateweather/docs/Makefile.am @@ -18,6 +18,10 @@ HELP_MEDIA = figures/mateweather_applet.png \ figures/stock_weather-storm.png \ figures/stock_weather-sunny.png -HELP_LINGUAS = ar ca cs de el en_GB es eu fi fr ko nl oc pa pt_BR ru sv uk zh_CN +# 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))) ) -include $(top_srcdir)/git.mk |