This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
update_web_docs_svn (was: update_version_svn)
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Apr 2009 14:52:45 +0200 (CEST)
- Subject: update_web_docs_svn (was: update_version_svn)
- References: <200902250510.34957.okellogg@users.sourceforge.net> <1235499411.11347.129.camel@localhost> <200902242038.19848.okellogg@users.sourceforge.net> <Pine.LNX.4.64.0902241944420.28488@digraph.polyomino.org.uk> <alpine.LSU.1.99.0904042030120.11029@acrux.dbai.tuwien.ac.at> <Pine.LNX.4.64.0904080037430.8449@digraph.polyomino.org.uk> <alpine.LSU.1.99.0904080418520.26436@acrux.dbai.tuwien.ac.at>
On Wed, 8 Apr 2009, Gerald Pfeifer wrote:
>>> * update_web_docs_svn: Run this script under plain /bin/sh
>>> as opposed to /bin/sh -x.
> Thanks for having a look, Joseph! I applied my change and also updated
> the instance of this script on gcc.gnu.org. Let's see wether the next
> run in some 22 hours will again be able to push through a message to the
> gccadmin list. If not, let me know and I'll have another look what we
> may be able to cut.
It turns out that this is still not sufficient, at least those daily
mails from cron still do not make it to the gccadmin list.
How about the patch below? It brings down the output of this script
from 546197 byte to 317694 byte in runs I performed on gcc.gnu.org.
Gerald
2009-04-22 Gerald Pfeifer <gerald@pfeifer.com>
* update_web_docs_svn: Redirect output of texi2dvi to /dev/null.
Index: update_web_docs_svn
===================================================================
--- update_web_docs_svn (revision 146546)
+++ update_web_docs_svn (working copy)
@@ -155,7 +155,7 @@
if [ "${filename}" ]; then
makeinfo --html -I ${includedir} -I `dirname ${filename}` -o ${file}
${filename}
tar cf ${file}-html.tar ${file}/*.html
- texi2dvi -I ${includedir} -o ${file}.dvi ${filename} </dev/null && dvips -o ${file}.ps ${file}.dvi
+ texi2dvi -I ${includedir} -o ${file}.dvi ${filename} </dev/null >/dev/null && dvips -o ${file}.ps ${file}.dvi
texi2pdf -I ${includedir} -o ${file}.pdf ${filename} </dev/null
mkdir -p $DOCSDIR/$file
fi