Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-19 23:34:42 +0400
committerStefano Sabatini <stefasab@gmail.com>2013-03-30 19:58:45 +0400
commitc838701ce4515bd51f7827be0b20f256ba5c69f3 (patch)
treec98d9c11ce01216d11ec7fb899f05ee0a427d7ee /doc/texi2pod.pl
parent37fce84e2718631e1d6a5ead16510df591d43151 (diff)
doc/texi2pod.pl: skip printing chapter names if they are disabled
Diffstat (limited to 'doc/texi2pod.pl')
-rwxr-xr-xdoc/texi2pod.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 697576c185..610f349afb 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -121,7 +121,7 @@ INF: while(<$inf>) {
$chapters{$chapter_name} .= postprocess($chapter) if ($chapter_name);
# start new chapter
- $chapter_name = $1, push (@chapters_sequence, $chapter_name);
+ $chapter_name = $1, push (@chapters_sequence, $chapter_name) unless $skipping;
$chapters{$chapter_name} = "" unless exists $chapters{$chapter_name};
$chapter = "";
$output = 1;