X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=doc%2Ftexi2pod.pl;h=9db6de1758c24f44e1e6a79d3c7a7fcc3d488968;hp=d2f3a026baca03b16a4e23674ee1674bf608dfec;hb=320cfdcb658e8d6556ae9dfd902c2db1db866a6b;hpb=4a08094db88011153adadbf995103770b20d2a31 diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index d2f3a026..9db6de17 100755 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -1,7 +1,7 @@ #! /usr/bin/env perl -# Copyright (C) 1999, 2000, 2001, 2003, 2007, 2009 Free Software -# Foundation, Inc. +# Copyright (C) 1999, 2000, 2001, 2003, 2007, 2009, 2010, 2011 Free +# Software Foundation, Inc. # This file is part of GCC. @@ -23,6 +23,7 @@ # something suitable for a manpage from a Texinfo document. use warnings; +BEGIN { eval { require warnings; } and warnings->import; } $output = 0; $skipping = 0; @@ -290,7 +291,7 @@ while(<$inf>) { if (defined $1) { my $thing = $1; if ($ic =~ /\@asis/) { - $_ = "\n=item $thing\n"; + $_ = "\n=item C<$thing>\n"; } else { # Entity escapes prevent munging by the <> processing below. $_ = "\n=item $ic\<$thing\>\n";