1 From 20c3fe76340981c43eeed16a5509480a0f5cb56d Mon Sep 17 00:00:00 2001
2 From: Maximilian Bosch <maximilian@mbosch.me>
3 Date: Fri, 6 Aug 2021 10:55:01 +0200
4 Subject: [PATCH] Forcefully disable docs build
6 This currently affects the following statement in `src/Makefile.am`
9 if !DISABLE_DOCUMENTATION
11 if test -w $(srcdir)/internals; then \
12 env DUMP_INTERNALS_DIR=$(srcdir)/internals DUMP_CRASH=1 ./lnav Makefile; \
13 mv $(srcdir)/internals/*.schema.json $(top_srcdir)/docs/schemas; \
17 We cannot do this (even on non-cross builds) since `lnav` requires e.g.
18 `/etc/nsswitch.conf` and other impurities here.
21 1 file changed, 1 insertion(+), 1 deletion(-)
23 diff --git a/configure.ac b/configure.ac
24 index ce311fd8..e3c9ebe0 100644
27 @@ -287,7 +287,7 @@ AS_IF([test $? -eq 0],
29 AM_CONDITIONAL(USE_INCLUDED_YAJL, test $HAVE_LOCAL_YAJL -eq 0)
30 AM_CONDITIONAL(HAVE_LIBCURL, test x"$LIBCURL" != x"")
31 -AM_CONDITIONAL([DISABLE_DOCUMENTATION], [ test x"$cross_compiling" != x"no" ])
32 +AM_CONDITIONAL([DISABLE_DOCUMENTATION], [ true ])
34 AC_CONFIG_HEADERS([src/config.h])
35 AC_CONFIG_FILES([Makefile])