App-Build
view release on metacpan or search on metacpan
lib/App/Build.pm view on Meta::CPAN
my ($self, $blib) = @_;
$blib ||= $self->blib;
my %map;
foreach my $type ($self->install_types) {
my $localdir = File::Spec->catdir( $blib, $type );
next unless -e $localdir;
if (my $dest = $self->install_destination($type)) {
# thins alters the behavious of Module::Build, and
# looks into the implementation
if ( $self->install_path($type)
&& !File::Spec->file_name_is_absolute($dest)) {
$dest = File::Spec->catdir( $self->_prefix, $dest );
}
$map{$localdir} = $dest;
} else {
# Platforms like Win32, MacOS, etc. may not build man pages
die "Can't figure out where to install things of type '$type'"
unless $type =~ /^(lib|bin)doc$/;
}
( run in 0.295 second using v1.01-cache-2.11-cpan-64827b87656 )