PATCH: maintainer-scripts/update_web_docs and www/bin/preprocess
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Mon Aug 6 06:03:00 GMT 2001
I installed the following patch, tested it on gcc.gnu.org and updated
the scripts and maintainer-scripts directories in the gccadmin account
on gcc.gnu.org
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.
Gerald
Index: update_web_docs
===================================================================
RCS file: /cvs/gcc/egcs/maintainer-scripts/update_web_docs,v
retrieving revision 1.8
diff -u -3 -p -r1.8 update_web_docs
--- update_web_docs 2001/06/08 06:27:47 1.8
+++ update_web_docs 2001/08/06 12:59:33
@@ -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.
More information about the Gcc-patches
mailing list