This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
No need for buildtoc to scan ext/, now that it runs after the build process.
authorNicholas Clark <nick@ccl4.org>
Fri, 21 Jan 2011 10:51:53 +0000 (10:51 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 21 Jan 2011 10:59:06 +0000 (10:59 +0000)
commit9a8cc8a45d2bc98de5406cc16089620542ca4742
treedcc340225110daafc9bda9c3df43fce893332af9
parentc16dbe5a914ebce8333c188817c2089091158e31
No need for buildtoc to scan ext/, now that it runs after the build process.

Since 7eb47696deb9a734, buildtoc has been run as part of the build process,
hence it has all modules copied to lib/ from ext/ (dist/ and cpan/), where
its scan finds them.

Previously it was run by the committers as and when (and sometimes not often
enough), and the generated pod/perltoc.pod checked in. Hence it might be run
on a clean checkout, and so couldn't assume that everything would be in lib/

This scan of lib/ is why buildtoc can still pick up all the modules, despite
their migration to cpan/ and dist/, which it has no idea about.

Also, scanning lib/ rather than ext/ means that Pod for modules that are not
being installed on this platform won't be included, which makes for a more
accurate perltoc.pod
pod/buildtoc