This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

update_web_docs_svn (was: update_version_svn)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]