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
This commit is contained in:
Glen Barber 2017-09-19 15:24:47 +00:00
parent a91afefea0
commit d5112e7690
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50883

View file

@ -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;