From d5112e7690eea41c32ce1cb89a3e1ef0222e699e Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Tue, 19 Sep 2017 15:24:47 +0000 Subject: [PATCH] Enable parallel builds in the webupdate script. Thank you to wosch@ for fixing the parallel build issues in the doc tree, and for implementing this. Sponsored by: The FreeBSD Foundation --- share/tools/webupdate | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/share/tools/webupdate b/share/tools/webupdate index bc64460186..16efd1400d 100755 --- a/share/tools/webupdate +++ b/share/tools/webupdate @@ -156,10 +156,16 @@ fi # # Build the web site. # +cd $BUILDDIR/head || exit 1; + +time make ${BUILDARGS} p-all >> $LOGFILE 2>&1 || + (tail -50 $LOGFILE | + mail -s "FreeBSD web build failed on `hostname`" $WEBMAILTO; + exit 3) || exit 3; + cd $BUILDDIR/head/en_US.ISO8859-1/htdocs || exit 1; -time make ${BUILDARGS} all >> $LOGFILE 2>&1 && - time make ${INSTARGS} install >> $LOGFILE 2>&1 || +time make ${INSTARGS} install >> $LOGFILE 2>&1 || (tail -50 $LOGFILE | mail -s "FreeBSD web build failed on `hostname`" $WEBMAILTO; exit 3) || exit 3;