aboutsummaryrefslogtreecommitdiff
path: root/maintainer-scripts
diff options
context:
space:
mode:
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>2001-06-04 16:12:47 +0200
committerGerald Pfeifer <gerald@gcc.gnu.org>2001-06-04 14:12:47 +0000
commit95307c8e0167e5460471eecb7056913b63d6043a (patch)
tree505c79f0fe0ab1d0f2601baa3e8e6b83aa1c5fc9 /maintainer-scripts
parentb4e3fabb4d782befffdfc0694e9e2aa7c49cef07 (diff)
downloadgcc-95307c8e0167e5460471eecb7056913b63d6043a.zip
gcc-95307c8e0167e5460471eecb7056913b63d6043a.tar.gz
gcc-95307c8e0167e5460471eecb7056913b63d6043a.tar.bz2
update_web_docs (WWWBASE_PREFORMATTED, PREPROCESS): New variables.
* update_web_docs (WWWBASE_PREFORMATTED, PREPROCESS): New variables. Fix a comment and add another one. Generate the installation documentation in HTML format from gcc/doc/install.texi. From-SVN: r42849
Diffstat (limited to 'maintainer-scripts')
-rw-r--r--maintainer-scripts/ChangeLog8
-rwxr-xr-xmaintainer-scripts/update_web_docs21
2 files changed, 27 insertions, 2 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog
index 9d3a01d..81971e8 100644
--- a/maintainer-scripts/ChangeLog
+++ b/maintainer-scripts/ChangeLog
@@ -1,3 +1,11 @@
+2001-06-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
+
+ * update_web_docs (WWWBASE_PREFORMATTED, PREPROCESS): New
+ variables.
+ Fix a comment and add another one.
+ Generate the installation documentation in HTML format from
+ gcc/doc/install.texi.
+
2001-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
* update_web_docs: Don't generate HTML from gxxint.texi. Don't
diff --git a/maintainer-scripts/update_web_docs b/maintainer-scripts/update_web_docs
index a9b3470..171afd7 100755
--- a/maintainer-scripts/update_web_docs
+++ b/maintainer-scripts/update_web_docs
@@ -5,7 +5,10 @@ CVSROOT=/cvs/gcc
export CVSROOT
PATH=/usr/local/bin:$PATH
+
WWWBASE=/www/gcc/htdocs
+WWWBASE_PREFORMATTED=/www/gcc/htdocs-preformatted
+PREPROCESS=/www/gcc/bin/preprocess
# Process options -rrelease and -ddirectory
RELEASE=""
@@ -87,10 +90,10 @@ find $CVSROOT/gcc -name \*.texi,v -print | fgrep -v -f/home/gccadmin/scripts/doc
# Checkout all the texi files and get them into a single directory.
# If we ever have texi files with the same name we'll have to do this
# differently.
-cvs -Q co -r$RELEASE `cat FILES`
+cvs -Q co -r$RELEASE `cat FILES` gcc/gcc/doc/install.texi2html
mv `find . -name \*.texi -print` .
-# Now convert the relavent files from texi to html
+# Now convert the relevant files from texi to html.
for file in c-tree cpp chill cppinternals gcc gcj g77 objc-features porting; do
if [ -e ${file}.texi ]; then
/usr/local/bin/texi2html -glossary -menu -split_chapter ${file}.texi
@@ -147,4 +150,18 @@ if [ "$DO_THANKS_HTML" = y ]; then
ln onlinedocs/${contrib_file}.gz thanks.html.gz
fi
+# Finally, generate the installation documentation.
+SOURCEDIR=$WORKDIR
+DESTDIR=$WWWBASE_PREFORMATTED/install
+export SOURCEDIR
+export DESTDIR
+$WORKDIR/gcc/gcc/doc/install.texi2html
+
+for file in `ls $DESTDIR`
+do
+ $PREPROCESS install/$file
+done
+
+# Clean up behind us.
+
rm -rf $WORKDIR