This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PATCH for RE: Broken link and defunct search
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- Cc: gcc at gnu dot org, Janis Johnson <janis187 at us dot ibm dot com>,Dave Korn <dk at artimi dot com>,Nikolay Mihaylov <nikolay dot mihaylov at epfl dot ch>
- Date: Sun, 5 Sep 2004 23:51:45 +0200 (CEST)
- Subject: PATCH for RE: Broken link and defunct search
- References: <NUTMEGzWmf9oqx1xINd00000dca@NUTMEG.CAM.ARTIMI.COM><Pine.BSF.4.61.0408181304040.15562@acrux.dbai.tuwien.ac.at><Pine.BSF.4.61.0408262317250.82502@acrux.dbai.tuwien.ac.at><Pine.LNX.4.61.0408271642150.30564@digraph.polyomino.org.uk><Pine.BSF.4.61.0408282012080.264@acrux.dbai.tuwien.ac.at>
On Sat, 28 Aug 2004, Gerald Pfeifer wrote:
On Fri, 27 Aug 2004, Joseph S. Myers wrote:
sed -e 's/_002d/-/g' -e 's/_002a/*/g'
to a strategic place to the wwwdocs/bin/preprocess script on gcc.gnu.org.
I don't see this in CVS yet.
I just added it locally, because it is so ugly. If I haven't heard
back from the makeinfo folks by next week, I'll commit it.
Done as follows.
Installed and retested on gcc.gnu.org.
Gerald
Index: preprocess
===================================================================
RCS file: /cvs/gcc/wwwdocs/bin/preprocess,v
retrieving revision 1.38
diff -u -3 -p -r1.38 preprocess
--- preprocess 28 Aug 2003 13:05:38 -0000 1.38
+++ preprocess 5 Sep 2004 21:49:20 -0000
@@ -144,7 +144,10 @@ process_file()
cat $STYLE > $TMPDIR/input
printf '<set-var MHTML::INCLUDE-PREFIX="%s">\n' `pwd` >> $TMPDIR/input
cat $f >> $TMPDIR/input
- ${MHC} $TMPDIR/input > $TMPDIR/output
+ # Use sed to work around makeinfo 4.7 brokenness.
+ ${MHC} $TMPDIR/input \
+ | sed -e 's/_002d/-/g' -e 's/_002a/*/g' \
+ > $TMPDIR/output
# Copy the page only if it's new or there has been a change, and,
# first of all, if there was no problem when running MetaHTML.