This is the mail archive of the 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]

PATCH: gcc/maintainer-scripts/gcc_release

When we'll soon remove (even with a
redirect) this would cause problems for the gcc_release script, so
I committed the following to mainline and also the 3.3-branch and
updated the copy on as well:

  2003-06-27  Gerald Pfeifer  <>

	* gcc_release (build_sources): Do not include gnats.html any
	Make an error message more descriptive.

The improvement of the error message does not really qualify as a
regression fix, but I hope Mark will have mercy with me. ;-)


Index: gcc_release
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.30
diff -u -3 -p -r1.30 gcc_release
--- gcc_release	25 Jun 2003 09:36:19 -0000	1.30
+++ gcc_release	27 Jun 2003 19:28:03 -0000
@@ -178,7 +178,7 @@ EOF
   # Obtain some documentation files from the wwwdocs module.
   inform "Retrieving HTML documentation"
   changedir "${WORKING_DIRECTORY}"
-  for x in bugs gnats faq; do
+  for x in bugs faq; do
     (${CVS} export -r HEAD wwwdocs/htdocs/${x}.html && \
      cp ${WORKING_DIRECTORY}/wwwdocs/htdocs/${x}.html \
         ${SOURCE_DIRECTORY}) || \
@@ -192,7 +192,7 @@ EOF
     (${ENV} TERM=vt100 lynx -dump $file \
        | sed -e "s#file://localhost`/bin/pwd`\(.*\)#\1#g"; \
        > $newfile) || \
-     error "Could not regenerate documentation"
+     error "Could not generate text-only version of ${file}"

   # For a prerelease or real release, we need to generate additional

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