summaryrefslogtreecommitdiff
path: root/multiload
diff options
context:
space:
mode:
Diffstat (limited to 'multiload')
-rw-r--r--multiload/docs/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/multiload/docs/Makefile.am b/multiload/docs/Makefile.am
index 21854670..d8bec37a 100644
--- a/multiload/docs/Makefile.am
+++ b/multiload/docs/Makefile.am
@@ -6,6 +6,10 @@ HELP_FILES = index.docbook legal.xml
HELP_MEDIA = figures/multiload-preferences.png \
figures/system-monitor-applet_window.png
-HELP_LINGUAS = ca cs de el en_GB es eu fi fr ko 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