install.texi2html: Generate gcc-vers.texi in $DESTDIR not $SOURCEDIR/include.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 20 May 2008 16:21:31 +0000 (17:21 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 20 May 2008 16:21:31 +0000 (17:21 +0100)
* doc/install.texi2html: Generate gcc-vers.texi in $DESTDIR not
$SOURCEDIR/include.

From-SVN: r135664

gcc/ChangeLog
gcc/doc/install.texi2html

index f7d2ff13fafb7a6fb979afe38efbba22a0647640..9a3e9bb5dddad24a3f88b06a38f1873306ea0b4f 100644 (file)
@@ -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>
 
index c54526611879ac53f68e49dee62939d092f290f0..f735d042524a0448429bdf3ab78f110645493fb3 100755 (executable)
@@ -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