Commit 108ee817 authored by stefano's avatar stefano

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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23542 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 89465612
...@@ -102,12 +102,7 @@ while(<$inf>) { ...@@ -102,12 +102,7 @@ while(<$inf>) {
# Look for blocks surrounded by @c man begin SECTION ... @c man end. # Look for blocks surrounded by @c man begin SECTION ... @c man end.
# This really oughta be @ifman ... @end ifman and the like, but such # This really oughta be @ifman ... @end ifman and the like, but such
# would require rev'ing all other Texinfo translators. # would require rev'ing all other Texinfo translators.
/^\@c\s+man\s+begin\s+([A-Z]+)\s+([A-Za-z0-9-]+)/ and do { /^\@c\s+man\s+begin\s+([A-Za-z ]+)/ and $sect = $1, $output = 1, next;
$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+end/ and do { /^\@c\s+man\s+end/ and do {
$sects{$sect} = "" unless exists $sects{$sect}; $sects{$sect} = "" unless exists $sects{$sect};
$sects{$sect} .= postprocess($section); $sects{$sect} .= postprocess($section);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment