summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-01-05 21:16:09 +0000
committerNicholas Clark <nick@ccl4.org>2004-01-05 21:16:09 +0000
commit671313d0b4c6e76be9972a12e28ff086c57ec7b7 (patch)
tree7409c8ae2f1b4dcf756409ceebc45c17bc5d9ef7 /pod
parentc3892a8ea285ab2a62d7d4dacf440bbb1588ba00 (diff)
downloadperl-671313d0b4c6e76be9972a12e28ff086c57ec7b7.tar.gz
Fix bug with MANIFEST generation when we also regenerate perltoc.pod
p4raw-id: //depot/perl@22064
Diffstat (limited to 'pod')
-rw-r--r--pod/buildtoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/buildtoc b/pod/buildtoc
index 4d61eab644..71f2a91244 100644
--- a/pod/buildtoc
+++ b/pod/buildtoc
@@ -259,7 +259,7 @@ sub output ($);
sub output_perltoc {
open(OUT, ">perltoc.pod") || die "$0: creating perltoc.pod failed: $!";
- $/ = '';
+ local $/ = '';
($_= <<"EOPOD2B") =~ s/^\t//gm && output($_);
@@ -642,7 +642,9 @@ while (my ($target, $name) = each %Targets) {
next unless $Build{$target};
$built++;
if ($target eq "toc") {
+ print "Now processing $name\n" if $Verbose;
&output_perltoc;
+ print "Finished\n" if $Verbose;
next;
}
print "Now processing $name\n" if $Verbose;