summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-04 18:14:33 +0200
committerraveit65 <[email protected]>2018-10-07 17:02:44 +0200
commitac89c5a9baebbac4eeffae44aa6424f53d3519ac (patch)
tree17572265ff5e9ecdf78d1185ad83cd7a32060fa0
parent81d68e028c26aedb170a95bacdb6efde89eebbed (diff)
downloadmate-terminal-ac89c5a9baebbac4eeffae44aa6424f53d3519ac.tar.bz2
mate-terminal-ac89c5a9baebbac4eeffae44aa6424f53d3519ac.tar.xz
Use make functions for HELP_LINGUAS
-rw-r--r--help/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/help/Makefile.am b/help/Makefile.am
index c19463c..e46888f 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -6,10 +6,10 @@ HELP_MEDIA = figures/mate-terminal-default.png \
figures/mate-terminal-tabbed.png
# figures/terminal-window.png This image is not used.
-HELP_LINGUAS = da de ca cs el en_GB es fr it ko oc pt_BR ru sv uk zh_CN
-
-
-# Move to HELP_LINGUAS in transition to yelp-tools
-#SUBDIRS = bg ro ja 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