aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-10-27 20:58:30 +0000
committerlpsolit%gmail.com <>2009-10-27 20:58:30 +0000
commitece6b10f982a116c27ddea550b5d07ef318e68e0 (patch)
tree54d1f1d91c0b0061ab538a0f8f2d3ef54b66608e
parentBug 524675: "Edit Search" fails to preserve comment, URL, and whiteboard para... (diff)
downloadbugzilla-ece6b10f982a116c27ddea550b5d07ef318e68e0.tar.gz
bugzilla-ece6b10f982a116c27ddea550b5d07ef318e68e0.tar.bz2
bugzilla-ece6b10f982a116c27ddea550b5d07ef318e68e0.zip
Bug 510246: makedocs.pl should not compile POD for modules in lib/ - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
-rw-r--r--docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm b/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
index c8309d70e..6cd59b50c 100644
--- a/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
+++ b/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
@@ -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;