From c777a6def975631afe78827d37f1189c1de5f0bd Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 3 Jun 2001 14:11:43 +0200 Subject: [PATCH] * doc/install.texi2html: New script. From-SVN: r42826 --- gcc/ChangeLog | 4 ++++ gcc/doc/install.texi2html | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100755 gcc/doc/install.texi2html diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fad93e2073dc..274f6ee8c582 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-06-03 Gerald Pfeifer + + * doc/install.texi2html: New script. + 2001-06-03 David Edelsohn * doc/install.texi: Update AIX information again. diff --git a/gcc/doc/install.texi2html b/gcc/doc/install.texi2html new file mode 100755 index 000000000000..da99e4c453b0 --- /dev/null +++ b/gcc/doc/install.texi2html @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Convert the GCC install documentation from texinfo format to HTML. +# +# $SOURCEDIR and $DESTDIR, resp., refer to the directory containing +# the texinfo source and the directory to put the HTML version in. +# +# (C) 2001 Free Software Foundation +# Originally by Gerald Pfeifer , June 2001. +# +# This script is Free Software, and it can be copied, distributed and +# modified as defined in the GNU General Public License. A copy of +# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html + +SOURCEDIR=${SOURCEDIR-.} +DESTDIR=${DESTDIR-HTML} + +MAKEINFO=makeinfo + +if [ ! -d $DESTDIR ]; then + mkdir -p $DESTDIR +fi + +for x in index.html specific.html download.html configure.html \ + build.html test.html finalinstall.html binaries.html +do + define=`echo $x | sed -e 's/\.//g'` + echo "define = $define" + $MAKEINFO $SOURCEDIR/install.texi --html -D$define -o$DESTDIR/$x +done -- 2.39.5