summaryrefslogtreecommitdiff
path: root/stickynotes/docs/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-04 14:04:36 +0200
committerraveit65 <[email protected]>2018-10-06 12:20:12 +0200
commit3caf2ace26ef70765e29738f3b8b4a98eb8220df (patch)
treea74e5645016c48aa34659fe5901d02994e67e784 /stickynotes/docs/Makefile.am
parent867b495e5d8baf360419cbe96e0f691a0689f288 (diff)
downloadmate-applets-3caf2ace26ef70765e29738f3b8b4a98eb8220df.tar.bz2
mate-applets-3caf2ace26ef70765e29738f3b8b4a98eb8220df.tar.xz
Use make functions for HELP_LINGUAS
Diffstat (limited to 'stickynotes/docs/Makefile.am')
-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