Skip to content

Commit 2260170

Browse files
rbujraveit65
authored andcommitted
Use make functions for HELP_LINGUAS
1 parent 4e1387c commit 2260170

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

help/Makefile.am

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ HELP_MEDIA = figures/mate-terminal-default.png \
66
figures/mate-terminal-tabbed.png
77
# figures/terminal-window.png This image is not used.
88

9-
HELP_LINGUAS = da de ca cs el en_GB es fr it ko oc pt_BR ru sv uk zh_CN
10-
11-
12-
# Move to HELP_LINGUAS in transition to yelp-tools
13-
#SUBDIRS = bg ro ja zh_TW
9+
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
10+
IGNORE_HELP_LINGUAS =
11+
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
12+
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
13+
$(subst /,,$(dir $(wildcard */*.po))) )
1414

1515
-include $(top_srcdir)/git.mk

0 commit comments

Comments
 (0)