summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-06 20:08:10 +0200
committerraveit65 <[email protected]>2018-10-08 11:58:54 +0200
commit9af426474201295b9642b353af02b1f3a689aa02 (patch)
tree0275207915acb1a2595f230218e19e1b42cbbe5c
parent443e594b2eb8c72019a3a9e0c834c2d7d876b699 (diff)
downloadmate-sensors-applet-9af426474201295b9642b353af02b1f3a689aa02.tar.bz2
mate-sensors-applet-9af426474201295b9642b353af02b1f3a689aa02.tar.xz
Use make functions for HELP_LINGUAS
-rw-r--r--help/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/help/Makefile.am b/help/Makefile.am
index da9ec62..828044f 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -3,4 +3,9 @@
HELP_ID = mate-sensors-applet
HELP_FILES = index.docbook legal.xml
HELP_MEDIA = figures/applet_in_panel.png
-HELP_LINGUAS =
+
+# 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))) )