diff options
author | rbuj <[email protected]> | 2018-10-04 14:04:36 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-10-06 12:31:56 +0200 |
commit | 43a64acc08d3a7dfce7d5432c5ef0e45c7406874 (patch) | |
tree | bcd9f62bdf48440ba9eb9b08e629b93f5732a64d /trashapplet/docs | |
parent | 339fb82721ad1afeb9bbb10833923d7ae40beddb (diff) | |
download | mate-applets-43a64acc08d3a7dfce7d5432c5ef0e45c7406874.tar.bz2 mate-applets-43a64acc08d3a7dfce7d5432c5ef0e45c7406874.tar.xz |
Use make functions for HELP_LINGUAS
Diffstat (limited to 'trashapplet/docs')
-rw-r--r-- | trashapplet/docs/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/trashapplet/docs/Makefile.am b/trashapplet/docs/Makefile.am index f6692946..586dc32b 100644 --- a/trashapplet/docs/Makefile.am +++ b/trashapplet/docs/Makefile.am @@ -5,6 +5,10 @@ HELP_FILES = index.docbook legal.xml HELP_MEDIA = figures/trash-applet.png -HELP_LINGUAS = ca cs da de el en_GB es eu fi fr hu it nl oc pa pt_BR ru sv uk zh_CN zh_HK 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 |