[Module-build-checkins] Module-Build/lib/Module/Build Base.pm,1.350,1.351
Status: Beta
Brought to you by:
kwilliams
From: Ken W. <kwi...@us...> - 2004-11-20 04:21:31
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1432/lib/Module/Build Modified Files: Base.pm Log Message: Only load Pod::Man when we actually need to build man pages Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.350 retrieving revision 1.351 diff -C2 -d -r1.350 -r1.351 *** Base.pm 19 Nov 2004 16:40:43 -0000 1.350 --- Base.pm 20 Nov 2004 04:21:21 -0000 1.351 *************** *** 1625,1629 **** my $self = shift; $self->depends_on('code'); - require Pod::Man; $self->manify_bin_pods() if $self->install_destination('bindoc'); $self->manify_lib_pods() if $self->install_destination('libdoc'); --- 1625,1628 ---- *************** *** 1633,1636 **** --- 1632,1636 ---- sub manify_bin_pods { my $self = shift; + require Pod::Man; my $parser = Pod::Man->new( section => 1 ); # binary manpages go in section 1 my $files = $self->_find_pods($self->{properties}{bindoc_dirs}); *************** *** 1652,1655 **** --- 1652,1656 ---- sub manify_lib_pods { my $self = shift; + require Pod::Man; my $parser = Pod::Man->new( section => 3 ); # library manpages go in section 3 my $files = $self->_find_pods($self->{properties}{libdoc_dirs}); |