OSDN Git Service

* doc/install.texi2html: New script.
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jun 2001 12:11:43 +0000 (12:11 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jun 2001 12:11:43 +0000 (12:11 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42826 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/install.texi2html [new file with mode: 0755]

index fad93e2..274f6ee 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-03  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * doc/install.texi2html: New script.
+
 2001-06-03  David Edelsohn  <edelsohn@gnu.org>
 
        * doc/install.texi: Update AIX information again.
diff --git a/gcc/doc/install.texi2html b/gcc/doc/install.texi2html
new file mode 100755 (executable)
index 0000000..da99e4c
--- /dev/null
@@ -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 <pfeifer@dbai.tuwien.ac.at>, 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