summaryrefslogtreecommitdiff
path: root/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 /Makefile.am
parent6b159d0665c67c3c78c2968673e24bf45c2430d2 (diff)
downloadatril-66de6ed56647df275f2844eb6106349932991579.tar.bz2
atril-66de6ed56647df275f2844eb6106349932991579.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 719d155d..68950e21 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,6 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = \
- po \
cut-n-paste \
data \
libdocument \
@@ -12,6 +11,10 @@ SUBDIRS = \
shell \
help
+if USE_NLS
+ SUBDIRS += po
+endif
+
if ENABLE_TESTS
SUBDIRS += test
endif
@@ -38,7 +41,7 @@ header_DATA = \
atril-view.h \
$(NULL)
-# Applications
+# Applications
EXTRA_DIST = \
$(header_DATA) \
autogen.sh \