summaryrefslogtreecommitdiff
path: root/battstat/docs
diff options
context:
space:
mode:
Diffstat (limited to 'battstat/docs')
-rw-r--r--battstat/docs/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/battstat/docs/Makefile.am b/battstat/docs/Makefile.am
index a451f391..94cc5507 100644
--- a/battstat/docs/Makefile.am
+++ b/battstat/docs/Makefile.am
@@ -9,6 +9,10 @@ HELP_MEDIA = figures/battstat-applet-expanded.png \
figures/battstat-preferences.png \
figures/context-menu.png
-HELP_LINGUAS = ca cs bg da de el en_GB es eu fi fr ko oc pa pt_BR 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