X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/495ae4b01f36d0d8bb0e34a1d7263c2b8224aa4a..a26fb6a77384b60f9712e3b0810c70923ecf4963:/doc/doc-scripts/g2t diff --git a/doc/doc-scripts/g2t b/doc/doc-scripts/g2t index 30c713c08..c840ac64f 100755 --- a/doc/doc-scripts/g2t +++ b/doc/doc-scripts/g2t @@ -1,5 +1,4 @@ #! /usr/bin/perl -w -# $Cambridge: exim/doc/doc-scripts/g2t,v 1.1 2004/10/07 15:04:35 ph10 Exp $ # A Perl script to turn the SGCAL source of the Exim documentation into # Texinfo input, more or less... @@ -726,7 +725,7 @@ while (<>) # "-". If we triple it in the menu it gets displayed OK, but building # software complains about non-existent cross references etc. - # I have gone for the horrid kludge of turning it into "-" + # I have gone for the horrid kludge of turning it into "-" # in the menus and nodes. # Exim 4 has added --help, which has the same problem. @@ -892,8 +891,10 @@ while (<>) # we sort out the menu and copy their data. This is all done in a # subroutine that is shared with options. - elsif (/^\.startconf/) + elsif (/^\.startconf\s+(.*)/) { + $confuse = $1; + $confuse = &dequote($confuse); handle_subsection("conf"); next; } @@ -1069,6 +1070,7 @@ $doing_filter = 0; $skip_else = 0; $in_itemize = 0; $lastwasitem = 0; +$confuse = ""; $chapter_number = 0; $section_number = 0;