From 66de6ed56647df275f2844eb6106349932991579 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 8 Feb 2021 13:36:28 +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 a711b85e..7e0f9fc3 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -7,9 +7,13 @@ HELP_FILES = index.docbook legal.xml HELP_MEDIA = figures/atril_start_window.png # Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr +if USE_NLS 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