aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-01-10 10:54:02 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-01-10 10:54:02 +0000
commit2642624b16f87187d60e6c303486fbbec9fd6329 (patch)
tree1731c163715b381ff02f5758d83886b1049e6132 /contrib
parent737c87df28194cb7296757b5384373fd9ad56bc9 (diff)
downloadgcc-2642624b16f87187d60e6c303486fbbec9fd6329.zip
gcc-2642624b16f87187d60e6c303486fbbec9fd6329.tar.gz
gcc-2642624b16f87187d60e6c303486fbbec9fd6329.tar.bz2
gcc.texi: Define macro gcctabopt.
gcc: * gcc.texi: Define macro gcctabopt. * invoke.texi: Add manpage sections BUGS and AUTHOR. Use @command, @env and @option in some places where appropriate. Use @gcctabopt where appropriate. Put URLs and email addresses inside @w. contrib: * texi2pod.pl: Handle @gcctabopt and @env in tables. Handle @command. Format URLs and email addresses in bold. From-SVN: r38863
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/texi2pod.pl6
2 files changed, 8 insertions, 3 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 4d8b76c..df505d8 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * texi2pod.pl: Handle @gcctabopt and @env in tables. Handle
+ @command. Format URLs and email addresses in bold.
+
2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc_update: Add cpp.1 to the list of generated files.
diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl
index dc9a68b..6826eea 100755
--- a/contrib/texi2pod.pl
+++ b/contrib/texi2pod.pl
@@ -192,7 +192,7 @@ while(<STDIN>)
push @endwstack, $endw;
push @icstack, $ic;
$ic = $1;
- $ic =~ s/\@(?:samp|strong|key)/B/;
+ $ic =~ s/\@(?:samp|strong|key|gcctabopt|env)/B/;
$ic =~ s/\@(?:code|kbd)/C/;
$ic =~ s/\@(?:dfn|var|emph|cite|i)/I/;
$ic =~ s/\@(?:file)/F/;
@@ -251,7 +251,7 @@ sub postprocess
# Formatting commands.
s/\@(?:dfn|var|emph|cite|i)\{([^\}]*)\}/I<$1>/g;
s/\@(?:code|kbd)\{([^\}]*)\}/C<$1>/g;
- s/\@(?:samp|strong|key|option|env|b)\{([^\}]*)\}/B<$1>/g;
+ s/\@(?:samp|strong|key|option|env|command|b)\{([^\}]*)\}/B<$1>/g;
s/\@sc\{([^\}]*)\}/\U$1/g;
s/\@file\{([^\}]*)\}/F<$1>/g;
s/\@w\{([^\}]*)\}/S<$1>/g;
@@ -272,7 +272,7 @@ sub postprocess
# @uref can take one, two, or three arguments, with different
# semantics each time. @url and @email are just like @uref with
# one argument, for our purposes.
- s/\@(?:uref|url|email)\{([^\},]*)\}/&lt;C<$1>&gt;/g;
+ s/\@(?:uref|url|email)\{([^\},]*)\}/&lt;B<$1>&gt;/g;
s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g;
s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g;