OSDN Git Service

2004-07-15 Toon Moene <toon@moene.indiv.nluug.nl>
[pf3gnuchains/gcc-fork.git] / maintainer-scripts / update_web_docs_old
index bb77826..119812b 100755 (executable)
@@ -74,9 +74,6 @@ fi
 
 if [ -z "$RELEASE" ]; then
   RELEASE=HEAD
-  DO_THANKS_HTML=y
-else
-  DO_THANKS_HTML=n
 fi
 
 WORKDIR=/tmp/gcc-doc-update.$$
@@ -137,29 +134,8 @@ for file in *.html *.ps; do
   fi
 done
 
-news_file=`grep "News About GNU Fortran" $DOCSDIR/g77_toc.html | sed -e '/HREF=.*[^.]/  s#^.*HREF="##g' | sed -e 's%#SEC.*%%g'`
-bugs_file=`grep "Known Causes of Trouble with GNU Fortran" $DOCSDIR/g77_toc.html | sed -e '/HREF=.*[^.]/  s#^.*HREF="##g' | sed -e 's%#SEC.*%%g'`
-contrib_file=`grep "Contributors to GCC" $DOCSDIR/gcc_toc.html | sed -e '/HREF=.*[^.]/  s#^.*HREF="##g' | sed -e 's%#SEC.*%%g'`
-
 cd $DOCSDIR
 
-rm -f g77_news.html
-rm -f g77_bugs.html
-rm -f g77_news.html.gz
-rm -f g77_bugs.html.gz
-ln $news_file g77_news.html
-ln $bugs_file g77_bugs.html
-ln ${news_file}.gz g77_news.html.gz
-ln ${bugs_file}.gz g77_bugs.html.gz
-
-if [ "$DO_THANKS_HTML" = y ]; then
-  cd $WWWBASE
-  rm -f thanks.html
-  rm -f thanks.html.gz
-  ln onlinedocs/$contrib_file thanks.html
-  ln onlinedocs/${contrib_file}.gz thanks.html.gz
-fi
-
 # Finally, generate the installation documentation (but only for CVS HEAD).
 if [ "$RELEASE" = "HEAD" ]; then
   SOURCEDIR=$WORKDIR/gcc/gcc/doc