From 5af31646583faedf3d16746f19e4d7d679852ac4 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Jan 2021 18:03:29 +0100 Subject: build: allow users to disable gettext support (--disable-nls) --- gsearchtool/help/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gsearchtool/help/Makefile.am') diff --git a/gsearchtool/help/Makefile.am b/gsearchtool/help/Makefile.am index 52a93666..2f16e2bb 100644 --- a/gsearchtool/help/Makefile.am +++ b/gsearchtool/help/Makefile.am @@ -20,10 +20,14 @@ HELP_FILES = index.docbook legal.xml HELP_MEDIA = figures/mate-search-tool_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