From bcc373120d11083b1073cb8ba87affb36410a930 Mon Sep 17 00:00:00 2001
From: Francois-Rene Rideau <tunes@google.com>
Date: Thu, 7 May 2015 19:56:41 -0400
Subject: [PATCH] Have doc/Makefile send copious output to log files. (From
 minimakefile branch.)

---
 doc/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/doc/Makefile b/doc/Makefile
index 632804cf..c9c4fce4 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -16,16 +16,19 @@ version.texinfo: ../version.lisp-expr
 	head -n 1 $^ | perl -ne 'm|\"(.*)\"|; print "\@set VERSION $$1\n"' > $@
 
 manual-html: asdf.texinfo version.texinfo
-	makeinfo --html asdf.texinfo
+	makeinfo --html asdf.texinfo \
+	2>&1 > manual-html.log || { echo "failed. See log in manual-html.log" ; exit 1 ;}
 
 asdf.html: asdf.texinfo version.texinfo
-	makeinfo --html --no-split --no-headers -o asdf.html asdf.texinfo
+	makeinfo --html --no-split --no-headers -o asdf.html asdf.texinfo \
+	2>&1 > asdf.html.log || { echo "failed. See log in asdf.html.log" ; exit 1 ;}
 
 asdf.info: asdf.texinfo version.texinfo
 	makeinfo asdf.texinfo
 
 asdf.pdf: asdf.texinfo version.texinfo
-	texi2pdf asdf.texinfo
+	texi2pdf asdf.texinfo \
+	2>&1 > asdf.pdf.log || { echo "failed. See log in asdf.pdf.log" ; exit 1 ;}
 
 website: all
 	rsync -lt --no-g ${webfiles} ${website}
-- 
GitLab