mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
a1e6d1ce6c
commit
c2ffa91a3a
|
@ -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>
|
2007-08-21 Paul Brook <paul@codesourcery.com>
|
||||||
Nathan Sidwell <nathan@codesourcery.com>
|
Nathan Sidwell <nathan@codesourcery.com>
|
||||||
Mark Mitchell <mark@codesourcery.com>
|
Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
|
@ -193,26 +193,6 @@ EOF
|
||||||
contrib/gcc_update --touch
|
contrib/gcc_update --touch
|
||||||
echo "Obtained from SVN: ${SVNBRANCH} revision ${SVNREV}" > LAST_UPDATED
|
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
|
# For a prerelease or real release, we need to generate additional
|
||||||
# files not present in SVN.
|
# files not present in SVN.
|
||||||
changedir "${SOURCE_DIRECTORY}"
|
changedir "${SOURCE_DIRECTORY}"
|
||||||
|
|
Loading…
Reference in New Issue