diff options
-rw-r--r-- | help/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/help/Makefile.am b/help/Makefile.am index da9ec62..828044f 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -3,4 +3,9 @@ HELP_ID = mate-sensors-applet HELP_FILES = index.docbook legal.xml HELP_MEDIA = figures/applet_in_panel.png -HELP_LINGUAS = + +# 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))) ) |