svn commit: r50883 - head/share/tools
Glen Barber
gjb at FreeBSD.org
Tue Sep 19 15:24:49 UTC 2017
Author: gjb
Date: Tue Sep 19 15:24:47 2017
New Revision: 50883
URL: https://svnweb.freebsd.org/changeset/doc/50883
Log:
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
Modified:
head/share/tools/webupdate
Modified: head/share/tools/webupdate
==============================================================================
--- head/share/tools/webupdate Tue Sep 19 14:24:33 2017 (r50882)
+++ head/share/tools/webupdate Tue Sep 19 15:24:47 2017 (r50883)
@@ -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;
More information about the svn-doc-all
mailing list