aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-19 20:34:42 +0100
committerTimothy Gu <timothygu99@gmail.com>2013-08-27 09:02:59 -0700
commit4f74cb93346589b0d0364d4289c45e6ae33423b5 (patch)
treed7f35c88b38f2b489b42b9038c6ff40aa3a7dab2
parent3726425d517be8861767d46b2d9607a21a3e119a (diff)
downloadffmpeg-4f74cb93346589b0d0364d4289c45e6ae33423b5.tar.gz
doc/texi2pod.pl: skip printing chapter names if they are disabled
(cherry picked from commit c838701ce4515bd51f7827be0b20f256ba5c69f3) Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-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;