Skip to content

Commit ce2921c

Browse files
rbujraveit65
authored and
raveit65
committed
Use make functions for HELP_LINGUAS
1 parent 708be8c commit ce2921c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

help/Makefile.am

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ HELP_MEDIA = \
66
figures/pluma_recent_files_menu_icon.png \
77
figures/pluma_window.png
88

9-
HELP_LINGUAS = ar bg ca cs da de el es fi fr hu it ja ko oc pt_BR ru sv th uk zh_CN zh_HK zh_TW
10-
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))) )
1114

1215
-include $(top_srcdir)/git.mk

0 commit comments

Comments
 (0)