diff options
author | lpsolit%gmail.com <> | 2009-10-27 20:56:50 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-10-27 20:56:50 +0000 |
commit | 44b2ff671b3f8152e43205e122912ebbef3f7980 (patch) | |
tree | dc7bf0f5fdded4f557e077a8e1701051e55ddd82 | |
parent | 2635ababda68c467e164f99a984dc7ad1766028e (diff) | |
download | bugs-44b2ff671b3f8152e43205e122912ebbef3f7980.tar bugs-44b2ff671b3f8152e43205e122912ebbef3f7980.tar.gz bugs-44b2ff671b3f8152e43205e122912ebbef3f7980.tar.bz2 bugs-44b2ff671b3f8152e43205e122912ebbef3f7980.tar.xz bugs-44b2ff671b3f8152e43205e122912ebbef3f7980.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.pm | 10 |
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; |