From c2ffa91a3ac3f757f2d39141bad4d4bc667df452 Mon Sep 17 00:00:00 2001
From: Gerald Pfeifer <gerald@pfeifer.com>
Date: Mon, 1 Oct 2007 06:21:10 +0000
Subject: [PATCH] gcc_release: Do not include copies of faq.html in releases...

	* gcc_release: Do not include copies of faq.html in releases,
	and remove all the explicit support code to pull in web pages.

From-SVN: r128901
---
 maintainer-scripts/ChangeLog   |  5 +++++
 maintainer-scripts/gcc_release | 20 --------------------
 2 files changed, 5 insertions(+), 20 deletions(-)

diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog
index c4559d6c8a58..37f757c8a642 100644
--- a/maintainer-scripts/ChangeLog
+++ b/maintainer-scripts/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-01  Gerald Pfeifer  <gerald@pfeifer.com>
+
+	* gcc_release: Do not include copies of faq.html in releases,
+	and remove all the explicit support code to pull in web pages.
+
 2007-08-21  Paul Brook  <paul@codesourcery.com>
 	    Nathan Sidwell  <nathan@codesourcery.com>
 	    Mark Mitchell  <mark@codesourcery.com>
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index 57f64d4bfc8e..a5d14cdf7243 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -193,26 +193,6 @@ EOF
   contrib/gcc_update --touch
   echo "Obtained from SVN: ${SVNBRANCH} revision ${SVNREV}" > LAST_UPDATED
 
-  # Obtain some documentation files from the wwwdocs module.
-  inform "Retrieving HTML documentation"
-  changedir "${WORKING_DIRECTORY}"
-  for x in faq; do
-    (${CVS} export -r HEAD wwwdocs/htdocs/${x}.html && \
-     cp ${WORKING_DIRECTORY}/wwwdocs/htdocs/${x}.html \
-        ${SOURCE_DIRECTORY}) || \
-      error "Could not retrieve ${x}.html"
-  done
-
-  inform "Generating plain-text documentation from HTML"
-  changedir "${SOURCE_DIRECTORY}"
-  for file in *.html; do
-    newfile=`echo $file | sed -e 's/.html//' | tr "[:lower:]" "[:upper:]"`
-    (${ENV} TERM=vt100 lynx -dump $file \
-       | sed -e "s#file://localhost`/bin/pwd`\(.*\)#http://gcc.gnu.org\1#g" \
-       > $newfile) || \
-     error "Could not generate text-only version of ${file}"
-  done
-
   # For a prerelease or real release, we need to generate additional
   # files not present in SVN.
   changedir "${SOURCE_DIRECTORY}"
-- 
GitLab