summaryrefslogtreecommitdiff
path: root/share/tools/webupdate
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2017-09-19 15:24:47 +0000
committerGlen Barber <gjb@FreeBSD.org>2017-09-19 15:24:47 +0000
commitd5112e7690eea41c32ce1cb89a3e1ef0222e699e (patch)
tree14632a2acccf44ae22dcc246e22a87792c3d37c4 /share/tools/webupdate
parenta91afefea06b41f26564ea142d5daa9d9ca52972 (diff)
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
Notes
svn path=/head/; revision=50883
Diffstat (limited to 'share/tools/webupdate')
-rwxr-xr-xshare/tools/webupdate10
1 files 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;