aboutsummaryrefslogtreecommitdiff
path: root/maintainer-scripts
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2023-03-16 01:20:26 +0100
committerGerald Pfeifer <gerald@pfeifer.com>2023-03-16 01:25:14 +0100
commit0c061da91a3657afdb3fac68e4595af685909a1a (patch)
tree8c42a32df7d8318e193632ebba6927970edc3ce2 /maintainer-scripts
parent39b1814c02724d7390e7cc7197b552711f09c494 (diff)
downloadgcc-0c061da91a3657afdb3fac68e4595af685909a1a.zip
gcc-0c061da91a3657afdb3fac68e4595af685909a1a.tar.gz
gcc-0c061da91a3657afdb3fac68e4595af685909a1a.tar.bz2
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.
Diffstat (limited to 'maintainer-scripts')
-rwxr-xr-xmaintainer-scripts/update_web_docs_git5
1 files changed, 3 insertions, 2 deletions
diff --git a/maintainer-scripts/update_web_docs_git b/maintainer-scripts/update_web_docs_git
index dee9b1d..1c6a993 100755
--- a/maintainer-scripts/update_web_docs_git
+++ b/maintainer-scripts/update_web_docs_git
@@ -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.