Skip to content

Commit 3575449

Browse files
rbujraveit65
authored andcommitted
Use make functions for HELP_LINGUAS
1 parent f735b8a commit 3575449

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

help/Makefile.am

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ HELP_MEDIA = figures/addColumn.png \
1616
figures/systemMonitor.png \
1717
figures/viewMenu.png
1818

19-
HELP_LINGUAS = ar bg ca cs da de el es fr oc pa sv zh_CN
20-
19+
# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
20+
IGNORE_HELP_LINGUAS =
21+
HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
22+
$(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
23+
$(subst /,,$(dir $(wildcard */*.po))) )

0 commit comments

Comments
 (0)