Re: [Module::Build] Document install_base_relpaths
Status: Beta
Brought to you by:
kwilliams
From: David W. <da...@ki...> - 2006-04-06 20:00:40
|
On Apr 6, 2006, at 10:53, Randy W. Sims wrote: > Great. besides making the methods public and documenting them, the > bigger change was one you don't see: During install it now knows to > install the custom type whereas before it would not install them > unless you specified an explicit --install-path or did some > trickery under the hood. Eg. setting install_base_relpath and > giving the --install-base option did nothing when installing. So if I don't set install-path or install_base, where will it be installed? I thought that I needed to write process_[element]_files() to set it up to do the right thing. For example, for my "www" element, I have this method: sub process_www_files { my $self = shift; my $files = $self->find_www_files; while (my ($file, $dest) = each %$files) { $self->copy_if_modified( from => $file, to => File::Spec->catfile($self->blib, $dest) ); } } Do I no longer need that? Best, Daviid |