aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rwxr-xr-xgcc/doc/install.texi2html6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f7d2ff1..9a3e9bb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-20 Joseph Myers <joseph@codesourcery.com>
+
+ * doc/install.texi2html: Generate gcc-vers.texi in $DESTDIR not
+ $SOURCEDIR/include.
+
2008-05-20 Jan Sjodin <jan.sjodin@amd.com>
Sebastian Pop <sebastian.pop@amd.com>
diff --git a/gcc/doc/install.texi2html b/gcc/doc/install.texi2html
index c545266..f735d04 100755
--- a/gcc/doc/install.texi2html
+++ b/gcc/doc/install.texi2html
@@ -32,7 +32,7 @@ fi
echo "@clear DEVELOPMENT"
fi
echo "@set srcdir $SOURCEDIR/.."
-) > $SOURCEDIR/include/gcc-vers.texi
+) > $DESTDIR/gcc-vers.texi
for x in index.html specific.html prerequisites.html download.html configure.html \
build.html test.html finalinstall.html binaries.html old.html \
@@ -40,7 +40,7 @@ for x in index.html specific.html prerequisites.html download.html configure.htm
do
define=`echo $x | sed -e 's/\.//g'`
echo "define = $define"
- $MAKEINFO --no-number-sections -I $SOURCEDIR -I $SOURCEDIR/include $SOURCEDIR/install.texi --html --no-split -D$define -o$DESTDIR/$x
+ $MAKEINFO --no-number-sections -I $SOURCEDIR -I $SOURCEDIR/include -I $DESTDIR $SOURCEDIR/install.texi --html --no-split -D$define -o$DESTDIR/$x
done
-rm $SOURCEDIR/include/gcc-vers.texi
+rm $DESTDIR/gcc-vers.texi