This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: maintainer-scripts/update_web_docs and www/bin/preprocess
- To: <gcc-patches at gcc dot gnu dot org>
- Subject: PATCH: maintainer-scripts/update_web_docs and www/bin/preprocess
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Mon, 6 Aug 2001 15:03:23 +0200 (CEST)
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.