OSDN Git Service

Revert some changes inadvertently committed as part of the previous revision.
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Apr 2007 00:08:27 +0000 (00:08 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Apr 2007 00:08:27 +0000 (00:08 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123396 138bc75d-0d04-0410-961f-82ee72b054a4

maintainer-scripts/update_web_docs_svn

index a587966..fbb2802 100755 (executable)
@@ -175,7 +175,7 @@ if test $today = 15; then
   done
 fi
 
-# Copy the resulting files to the web server.
+# And copy the resulting files to the web server
 for file in */*.html *.ps *.pdf *.tar; do
   if [ -f $DOCSDIR/$file ]; then
     cat $DOCSDIR/$file | 
@@ -195,25 +195,18 @@ done
 
 cd $DOCSDIR
 
-# And generate version-specific installation documentation.
-SOURCEDIR=$WORKDIR/gcc/gcc/doc
-DESTDIR=$DOCSDOR/install
-export SOURCEDIR
-export DESTDIR
-$WORKDIR/gcc/gcc/doc/install.texi2html
-
-# Finally, generate the primary installation documentation.
+# Finally, generate the installation documentation
 if [ "$RELEASE" = "trunk" ]; then
   SOURCEDIR=$WORKDIR/gcc/gcc/doc
   DESTDIR=$WWWBASE_PREFORMATTED/install
   export SOURCEDIR
   export DESTDIR
   $WORKDIR/gcc/gcc/doc/install.texi2html
-fi
 
-# Preprocess the entire web site, not just the install docs!
-echo "Invoking $WWWPREPROCESS"
-$WWWPREPROCESS | grep -v '^  Warning: Keeping'
+  # Preprocess the entire web site, not just the install docs!
+  echo "Invoking $WWWPREPROCESS"
+  $WWWPREPROCESS |grep -v '^  Warning: Keeping'
+fi
 
 # Clean up behind us.