summaryrefslogtreecommitdiff
path: root/drivemount
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-04 14:04:36 +0200
committerraveit65 <[email protected]>2018-10-06 12:31:56 +0200
commit43a64acc08d3a7dfce7d5432c5ef0e45c7406874 (patch)
treebcd9f62bdf48440ba9eb9b08e629b93f5732a64d /drivemount
parent339fb82721ad1afeb9bbb10833923d7ae40beddb (diff)
downloadmate-applets-43a64acc08d3a7dfce7d5432c5ef0e45c7406874.tar.bz2
mate-applets-43a64acc08d3a7dfce7d5432c5ef0e45c7406874.tar.xz
Use make functions for HELP_LINGUAS
Diffstat (limited to 'drivemount')
-rw-r--r--drivemount/help/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivemount/help/Makefile.am b/drivemount/help/Makefile.am
index 197df0a0..3c5fd9fd 100644
--- a/drivemount/help/Makefile.am
+++ b/drivemount/help/Makefile.am
@@ -9,6 +9,10 @@ HELP_MEDIA = figures/drivemount-applet_eject.png \
figures/drivemount-applet_open.png \
figures/drivemount-applet_status.png
-HELP_LINGUAS = ca cs da de el en_GB es eu fi fr it ko oc pa ru sv 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