Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2017 15:24:48 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r50883 - head/share/tools
Message-ID:  <201709191524.v8JFOm8l010077@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709191524.v8JFOm8l010077>