Skip to content

Commit eaae975

Browse files
author
raveit65
committed
Use make functions for HELP_LINGUAS
1 parent 7d9dab7 commit eaae975

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
@@ -6,6 +6,10 @@ HELP_ID = atril
66
HELP_FILES = index.docbook legal.xml
77
HELP_MEDIA = figures/atril_start_window.png
88

9-
HELP_LINGUAS = bg ca cs de el en_GB es eu fi fr it ja nl oc pt_BR ru sl sr sv uk vi zh_CN
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))) )
1014

1115
-include $(top_srcdir)/git.mk

0 commit comments

Comments
 (0)