1From 9304ad88a5f4b083d348563c5de00da53b34cf46 Mon Sep 17 00:00:00 2001 2From: Fabrice Fontaine <fontaine.fabrice@gmail.com> 3Date: Fri, 6 Mar 2020 23:20:39 +0100 4Subject: [PATCH] Makefile.am: fix build without makeinfo 5 6Don't build doc subdir if makeinfo is not available otherwise build 7fails on: 8 9make[4]: Entering directory '/nvmedata/autobuild/instance-7/output-1/build/host-guile-2.0.14/doc/ref' 10 MAKEINFO guile.info 11/nvmedata/autobuild/instance-7/output-1/build/host-guile-2.0.14/build-aux/missing: line 81: makeinfo: command not found 12WARNING: 'makeinfo' is missing on your system. 13 You should only need it if you modified a '.texi' file, or 14 any other file indirectly affecting the aspect of the manual. 15 You might want to install the Texinfo package: 16 <http://www.gnu.org/software/texinfo/> 17 The spurious makeinfo call might also be the consequence of 18 using a buggy 'make' (AIX, DU, IRIX), in which case you might 19 want to install GNU make: 20 <http://www.gnu.org/software/make/> 21 22Fixes: 23 - http://autobuild.buildroot.org/results/9605aac6f760bfff190d0ab95fa50f65486ffe90 24 25Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 26[Upstream status: sent to bug-guile@gnu.org] 27--- 28 Makefile.am | 6 +++++- 29 1 file changed, 5 insertions(+), 1 deletion(-) 30 31diff --git a/Makefile.am b/Makefile.am 32index ebbf6d476..2270afb9f 100644 33--- a/Makefile.am 34+++ b/Makefile.am 35@@ -38,8 +38,12 @@ SUBDIRS = \ 36 test-suite \ 37 benchmark-suite \ 38 gc-benchmarks \ 39- am \ 40+ am 41+ 42+if HAVE_MAKEINFO 43+SUBDIRS += \ 44 doc 45+endif 46 47 DIST_SUBDIRS = $(SUBDIRS) prebuilt 48 49-- 502.25.0 51 52