svn commit: r50883 - head/share/tools

Glen Barber <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.