diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-03-19 20:34:42 +0100 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2013-08-28 09:35:20 -0700 |
commit | e4a49ae561cbd651fb3c1b23d5479de9ee6ead5f (patch) | |
tree | a37a1aa8f4a3d1905549e23d0dcb20b6a5f0c7e3 | |
parent | 1feef46b9033f0cac0982f67856f804ace0dcce3 (diff) | |
download | ffmpeg-e4a49ae561cbd651fb3c1b23d5479de9ee6ead5f.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-x | doc/texi2pod.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index 8790563131..104b337071 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; |