summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-06 20:08:10 +0200
committerraveit65 <[email protected]>2018-10-08 11:57:42 +0200
commitff7769b5346ba40137570417fb29e7dd386b3150 (patch)
tree50af8d44e959b22c3d60fc9b4e50447484aaaaec
parent5c5fc3696be23da5c13af9c79c447eb2fd7c4aae (diff)
downloadmate-sensors-applet-ff7769b5346ba40137570417fb29e7dd386b3150.tar.bz2
mate-sensors-applet-ff7769b5346ba40137570417fb29e7dd386b3150.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))) )