summaryrefslogtreecommitdiff
path: root/help/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-08 13:36:28 +0100
committerraveit65 <[email protected]>2021-02-10 23:58:25 +0100
commit66de6ed56647df275f2844eb6106349932991579 (patch)
tree56b68e1244af645727ece13032f2ba89fe6cb68f /help/Makefile.am
parent6b159d0665c67c3c78c2968673e24bf45c2430d2 (diff)
downloadatril-66de6ed56647df275f2844eb6106349932991579.tar.bz2
atril-66de6ed56647df275f2844eb6106349932991579.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'help/Makefile.am')
-rw-r--r--help/Makefile.am4
1 files changed, 4 insertions, 0 deletions
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