Skip to content

Commit 49a85ee

Browse files
rbujraveit65
authored andcommitted
Use make functions for HELP_LINGUAS
1 parent a6e4be7 commit 49a85ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎help/Makefile.am‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ HELP_MEDIA = \
77
figures/eom_start_window.png \
88
figures/eom_toolbar_editor_window.png
99

10-
HELP_LINGUAS = ar ca cs da de el en_GB es eu fi fr it ja ko oc pa pl pt_BR ru sv th uk zh_CN zh_TW
10+
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
11+
IGNORE_HELP_LINGUAS =
12+
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
13+
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
14+
$(subst /,,$(dir $(wildcard */*.po))) )
1115

1216
-include $(top_srcdir)/git.mk

0 commit comments

Comments
 (0)