Skip to content

Commit 95541ae

Browse files
rbujraveit65
authored andcommitted
Use make functions for HELP_LINGUAS
1 parent a619c15 commit 95541ae

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
@@ -9,6 +9,10 @@ HELP_MEDIA = \
99
figures/engrampa_rightarrow.png \
1010
figures/engrampa_uparrow.png
1111

12-
HELP_LINGUAS = bg ca cs de el en_GB es fi fr it ja oc nl ru sv vi uk zh_CN
12+
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
13+
IGNORE_HELP_LINGUAS =
14+
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
15+
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
16+
$(subst /,,$(dir $(wildcard */*.po))) )
1317

1418
-include $(top_srcdir)/git.mk

0 commit comments

Comments
 (0)