From 8a653210e2ecf00c11bd8cdf44af2d8c4814fadf Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 25 Jan 2021 19:46:32 +0100 Subject: build: allow users to disable gettext support (--disable-nls) --- help/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'help') diff --git a/help/Makefile.am b/help/Makefile.am index 027b679..4705261 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -7,10 +7,14 @@ HELP_MEDIA = \ figures/eom_start_window.png \ figures/eom_toolbar_editor_window.png +if USE_NLS # Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr IGNORE_HELP_LINGUAS = HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \ $(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \ $(subst /,,$(dir $(wildcard */*.po))) ) +else +HELP_LINGUAS = +endif -include $(top_srcdir)/git.mk -- cgit v1.2.1