summaryrefslogtreecommitdiff
path: root/help/mate-fish/Makefile.am
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-11-15 14:35:46 +0100
committerraveit65 <[email protected]>2018-11-15 14:35:46 +0100
commit4302754bb391805b690d99a47adf52b8e348f88a (patch)
treea8fd622cbd3a835dc87f6b7a505a10cb4fa900c9 /help/mate-fish/Makefile.am
parentb9bd3f63367f7b7abf6fc1ef86b5a8edd92d775f (diff)
downloadmate-panel-4302754bb391805b690d99a47adf52b8e348f88a.tar.bz2
mate-panel-4302754bb391805b690d99a47adf52b8e348f88a.tar.xz
Use make functions for HELP_LINGUAS
Diffstat (limited to 'help/mate-fish/Makefile.am')
-rw-r--r--help/mate-fish/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/help/mate-fish/Makefile.am b/help/mate-fish/Makefile.am
index 4264e9f2..fce56d14 100644
--- a/help/mate-fish/Makefile.am
+++ b/help/mate-fish/Makefile.am
@@ -8,6 +8,10 @@ HELP_FILES = \
HELP_MEDIA = figures/fish_applet.png
-HELP_LINGUAS = ca cs de el en_GB es eu fi fr it ja ko oc ru sv th 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