summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-06-08 23:03:11 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-06-08 23:03:11 +0000
commit299b8be2ecf3b4cfc4b804e02bc87f2ec8518330 (patch)
tree39c81e07d0088ed0ac3ea4cab8f567152eb13318
parenta66d8cd91c2c521f86798e5385c012a5654e7175 (diff)
Remove a rule triggered by @man begin WORD WORDS. This rule only
outputs the section if WORDS has been defined in the list of options flags. The meaning of this rule is not clear, and not used by the FFmpeg documentation system anyway. Originally committed as revision 23542 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xdoc/texi2pod.pl7
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index e0bc615c89..d5ad4a6a37 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -102,12 +102,7 @@ while(<$inf>) {
# Look for blocks surrounded by @c man begin SECTION ... @c man end.
# This really oughta be @ifman ... @end ifman and the like, but such
# would require rev'ing all other Texinfo translators.
- /^\@c\s+man\s+begin\s+([A-Z]+)\s+([A-Za-z0-9-]+)/ and do {
- $output = 1 if exists $defs{$2};
- $sect = $1;
- next;
- };
- /^\@c\s+man\s+begin\s+([A-Z]+)/ and $sect = $1, $output = 1, next;
+ /^\@c\s+man\s+begin\s+([A-Za-z ]+)/ and $sect = $1, $output = 1, next;
/^\@c\s+man\s+end/ and do {
$sects{$sect} = "" unless exists $sects{$sect};
$sects{$sect} .= postprocess($section);