summaryrefslogtreecommitdiff
path: root/stickynotes/docs
diff options
context:
space:
mode:
Diffstat (limited to 'stickynotes/docs')
-rw-r--r--stickynotes/docs/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/stickynotes/docs/Makefile.am b/stickynotes/docs/Makefile.am
index d9ea52b8..d82b6708 100644
--- a/stickynotes/docs/Makefile.am
+++ b/stickynotes/docs/Makefile.am
@@ -9,6 +9,10 @@ HELP_MEDIA = figures/stickynote-right-menu-lock.png \
figures/stickynotes-note-prefs.png \
figures/stickynotes-prefs.png
-HELP_LINGUAS = ca cs de el en_GB es eu fi fr ko oc pa pt_BR ru sv uk 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))) )
-include $(top_srcdir)/git.mk