Include "EXAMPLES" section in Makefile
Hrvoje Niksic <[email protected]> Sun, 08 May 2005 00:09:32 +0200
| Newsgroups | gmane.comp.web.wget.patches |
|---|---|
| Message-ID | <[email protected]> |
Contrary to the obvious intent of the "@c man begin ..." markup, the man page does not contain an EXAMPLES section. It turns out that the problem is in texi2pod.pl which hard-codes a list of section that does not include EXAMPLES. This patch fixes the problem. 2005-05-08 Hrvoje Niksic <[email protected]> * texi2pod.pl.in: Allow an "EXAMPLES" section. Index: doc/texi2pod.pl.in =================================================================== RCS file: /pack/anoncvs/wget/doc/texi2pod.pl.in,v retrieving revision 1.6 diff -u -r1.6 texi2pod.pl.in --- doc/texi2pod.pl.in 2005/04/23 09:36:55 1.6 +++ doc/texi2pod.pl.in 2005/05/07 22:09:11 @@ -308,7 +308,7 @@ $sects{NAME} = "$fn \- $tl\n"; $sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES}; -for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT FILES +for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT EXAMPLES FILES BUGS NOTES FOOTNOTES SEEALSO AUTHOR COPYRIGHT)) { if(exists $sects{$sect}) { $head = $sect;