summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-12-25 11:32:12 +0100
committerraveit65 <[email protected]>2018-12-25 11:46:45 +0100
commite48d551f94e40d6422f5f50a3546b102003a47e7 (patch)
tree5694999bed301eda6d8d5a108d8ceff3462874cc /help
parent6ea2317964fad43b2cff867a1fb7c047b1cdaa98 (diff)
downloadmate-user-share-e48d551f94e40d6422f5f50a3546b102003a47e7.tar.bz2
mate-user-share-e48d551f94e40d6422f5f50a3546b102003a47e7.tar.xz
Use make functions for HELP_LINGUAS
Diffstat (limited to 'help')
-rw-r--r--help/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/help/Makefile.am b/help/Makefile.am
index 30266a8..9c2ed83 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -7,6 +7,11 @@ HELP_MEDIA = figures/file-sharing-preferences.png \
figures/sharing-over-bluetooth.png \
figures/receiving-over-bluetooth.png
-HELP_LINGUAS = ca cs de el en_GB es fr it pt_BR ro sl sv 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