summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-13 12:32:06 +0100
committerraveit65 <[email protected]>2021-02-16 14:07:47 +0100
commite50a1907e04a320bf9e054182b8dbeb4c52eb076 (patch)
treef0c11e26e732a7693149229c6d5fd7449149b35b /help
parent68306612ea6c7dc8635290950ce435a459dd4568 (diff)
downloadmate-control-center-e50a1907e04a320bf9e054182b8dbeb4c52eb076.tar.bz2
mate-control-center-e50a1907e04a320bf9e054182b8dbeb4c52eb076.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'help')
-rw-r--r--help/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/help/Makefile.am b/help/Makefile.am
index 7e821d0a..e12ad56e 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -18,10 +18,14 @@ HELP_FILES = \
config-themes.xml \
legal.xml
+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