Skip to content

Commit 6ff9690

Browse files
rbujraveit65
authored and
raveit65
committed
Use make functions for HELP_LINGUAS
1 parent c67ebc7 commit 6ff9690

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

help/Makefile.am

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@ HELP_MEDIA = \
1717
figures/gpm-unplugged.png \
1818
figures/gs-prefs.png
1919

20-
HELP_LINGUAS = ca de el en_GB es eu fi fr hu it oc pa ru sv zh_CN
20+
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
21+
IGNORE_HELP_LINGUAS =
22+
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
23+
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
24+
$(subst /,,$(dir $(wildcard */*.po))) )

0 commit comments

Comments
 (0)