diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-01-22 11:35:12 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-01-22 11:35:12 +0000 |
commit | 15e7524267604acab10d2b726fc1e74d674fa4d2 (patch) | |
tree | 78128ff8f1ae3f077530c16697383b201a98768e | |
parent | 02cc404a20a8a3455fdf6de6ebfceeaf359b205e (diff) | |
download | perl-15e7524267604acab10d2b726fc1e74d674fa4d2.tar.gz |
In buildtoc, only "find all the modules" if rebuilding pod/perltoc.pod
The results of the expensive scan aren't needed for any of the other targets.
-rw-r--r-- | pod/buildtoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/buildtoc b/pod/buildtoc index e4764b06eb..452d5913be 100644 --- a/pod/buildtoc +++ b/pod/buildtoc @@ -260,7 +260,7 @@ close MASTER; } # Find all the modules -{ +if ($Build{toc}) { my @modpods; find \&getpods => abs_from_top('lib/'); |