Skip to content

Commit 9ecc673

Browse files
author
raveit65
committed
Use make functions for HELP_LINGUAS
1 parent 480135d commit 9ecc673

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎help/Makefile.am‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ HELP_MEDIA = figures/file-sharing-preferences.png \
77
figures/sharing-over-bluetooth.png \
88
figures/receiving-over-bluetooth.png
99

10-
HELP_LINGUAS = ca cs de el en_GB es fr it pt_BR ro sl sv zh_CN
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))) )
15+
1116

1217
-include $(top_srcdir)/git.mk

0 commit comments

Comments
 (0)