Commit 44b2ff67 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 510246: makedocs.pl should not compile POD for modules in lib/ - Patch by…

Bug 510246: makedocs.pl should not compile POD for modules in lib/ - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 2635abab
......@@ -106,4 +106,14 @@ sub note_for_contents_file {
return $retval;
}
# Exclude modules being in lib/.
sub find_all_pods {
my($self, $dirs) = @_;
my $mod2path = $self->SUPER::find_all_pods($dirs);
foreach my $mod (keys %$mod2path) {
delete $mod2path->{$mod} if $mod =~ /^lib::/;
}
return $mod2path;
}
1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment