Re: [Module::Build] Document install_base_relpaths
Status: Beta
Brought to you by:
kwilliams
|
From: David W. <da...@ki...> - 2006-04-06 16:41:43
|
On Apr 6, 2006, at 03:54, Randy W. Sims wrote: > David, could you let me know if this provides a solid interim =20 > solution to the issues you've brought up. The repository has now =20 > moved to a subversion repository at <https://svn.perl.org/modules/=20 > Module-Build/> if you want to check it out. Yeah, looks great. I was able to patch my subclass thusly: Index: Base.pm =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Base.pm (revision 2767) +++ Base.pm (working copy) @@ -473,15 +473,15 @@ } # Prevent installation into lib/perl5. We just want lib'. - $self->install_base_relpaths->{lib} =3D ['lib']; + $self->install_base_relpaths(lib =3D> 'lib'); # Add www element and install path. $self->add_build_element('www'); - $self->install_base_relpaths->{www} =3D ['www']; + $self->install_base_relpaths(www =3D> 'www'); # Add config file element and install path. $self->add_build_element('conf'); - $self->install_base_relpaths->{conf} =3D ['conf']; + $self->install_base_relpaths(conf =3D> 'conf'); # Prompts. for my $class ( reverse Class::ISA::self_and_super_path(ref =20 $self) ) { And it just worked. Sweet=97thanks! David= |