Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26550/lib/Module/Build
Modified Files:
Tag: release-0_26_branch
Base.pm
Log Message:
The html docs that were created during the first invokation of ./Build were being found and treated as pod that needed to be converted to html during subsequent invokations. We now are more specific about the directories we scan for pod that needs to be converted, effectively avoiding blib/html. [Ray Zimmerman]
Index: Base.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v
retrieving revision 1.340.2.18
retrieving revision 1.340.2.19
diff -u -d -r1.340.2.18 -r1.340.2.19
--- Base.pm 6 Feb 2005 14:35:19 -0000 1.340.2.18
+++ Base.pm 8 Feb 2005 07:06:23 -0000 1.340.2.19
@@ -1743,7 +1743,7 @@
File::Path::mkpath($html, 1, 0755) or die "Couldn't mkdir $html: $!";
}
- my $pods = $self->_find_pods([$self->blib]);
+ my $pods = $self->_find_pods([ @{$self->libdoc_dirs}, @{$self->libdoc_dirs} ]);
if (-d $script) {
File::Find::finddepth( sub {
$pods->{$File::Find::name} =
|