mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
maintainer-scripts: Abstract BUGURL in update_web_docs_git
The URL where to report bugs is hard coded in two places; abstract that into one variable, defined up front. maintainer-scripts/ChangeLog: * update_web_docs_git (BUGURL): Introduce and use throughout.
This commit is contained in:
parent
39b1814c02
commit
0c061da91a
@ -33,6 +33,7 @@ MANUALS="cpp
|
||||
libiberty
|
||||
porting"
|
||||
|
||||
BUGURL="http://gcc.gnu.org/bugs/"
|
||||
CSS=/gcc.css
|
||||
|
||||
WWWBASE=${WWWBASE:-"/www/gcc/htdocs"}
|
||||
@ -154,11 +155,11 @@ includedir=gcc/gcc/doc/include
|
||||
fi
|
||||
echo "@set srcdir $WORKDIR/gcc/gcc"
|
||||
echo "@set VERSION_PACKAGE (GCC)"
|
||||
echo "@set BUGURL @uref{http://gcc.gnu.org/bugs/}"
|
||||
echo "@set BUGURL @uref{$BUGURL}"
|
||||
) > $includedir/gcc-vers.texi
|
||||
|
||||
# Generate libquadmath-vers.texi.
|
||||
echo "@set BUGURL @uref{http://gcc.gnu.org/bugs/}" \
|
||||
echo "@set BUGURL @uref{$BUGURL}" \
|
||||
> $includedir/libquadmath-vers.texi
|
||||
|
||||
# Now convert the relevant files from texi to HTML, PDF and PostScript.
|
||||
|
Loading…
Reference in New Issue
Block a user