This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: gcc/maintainer-scripts/gcc_release
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 27 Jun 2003 21:34:07 +0200 (CEST)
- Subject: PATCH: gcc/maintainer-scripts/gcc_release
When we'll soon remove http://gcc.gnu.org/gnats.html (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 gcc.gnu.org as well:
2003-06-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gcc_release (build_sources): Do not include gnats.html any
longer.
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. ;-)
Gerald
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`\(.*\)#http://gcc.gnu.org\1#g" \
> $newfile) || \
- error "Could not regenerate documentation"
+ error "Could not generate text-only version of ${file}"
done
# For a prerelease or real release, we need to generate additional