diff options
author | rbuj <[email protected]> | 2018-10-04 18:14:33 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-10-07 17:00:04 +0200 |
commit | 22601705ec33c24b24ed6bb24acc0605b050017e (patch) | |
tree | 420e7a2f32bfd610b07616478b9e009f83983203 | |
parent | 4e1387c23ab6ad6b7e86b42e739cfda8ef4cce89 (diff) | |
download | mate-terminal-22601705ec33c24b24ed6bb24acc0605b050017e.tar.bz2 mate-terminal-22601705ec33c24b24ed6bb24acc0605b050017e.tar.xz |
Use make functions for HELP_LINGUAS
-rw-r--r-- | help/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/help/Makefile.am b/help/Makefile.am index c19463c..e46888f 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -6,10 +6,10 @@ HELP_MEDIA = figures/mate-terminal-default.png \ figures/mate-terminal-tabbed.png # figures/terminal-window.png This image is not used. -HELP_LINGUAS = da de ca cs el en_GB es fr it ko oc pt_BR ru sv uk zh_CN - - -# Move to HELP_LINGUAS in transition to yelp-tools -#SUBDIRS = bg ro ja 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 |