OSDN Git Service

* update_web_docs (PREPROCESS): Rename to WWWPREPROCESS.
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Aug 2001 13:03:21 +0000 (13:03 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Aug 2001 13:03:21 +0000 (13:03 +0000)
Preprocess the entire web site, not just the install docs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44659 138bc75d-0d04-0410-961f-82ee72b054a4

maintainer-scripts/ChangeLog
maintainer-scripts/update_web_docs

index 9c07464..af8ea17 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-06  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * update_web_docs (PREPROCESS): Rename to WWWPREPROCESS.
+       Preprocess the entire web site, not just the install docs.
+
 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
 
        * update_version:  Add command-line argument capability, also
index c9f8b6e..c39e0ad 100755 (executable)
@@ -8,7 +8,7 @@ PATH=/usr/local/bin:$PATH
 
 WWWBASE=/www/gcc/htdocs
 WWWBASE_PREFORMATTED=/www/gcc/htdocs-preformatted
-PREPROCESS=/www/gcc/bin/preprocess
+WWWPREPROCESS='/www/gcc/bin/preprocess -r'
 
 # Process options -rrelease and -ddirectory
 RELEASE=""
@@ -162,10 +162,9 @@ if [ "$RELEASE" = "HEAD" ]; then
   export DESTDIR
   $WORKDIR/gcc/gcc/doc/install.texi2html
 
-  for file in `ls $DESTDIR`
-  do
-    $PREPROCESS install/$file
-  done 
+  # Preprocess the entire web site, not just the install docs!
+  echo "Invoking $WWWPREPROCESS"
+  $WWWPREPROCESS
 fi
 
 # Clean up behind us.