X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDistar.pm;h=97dda68e5dbe301b39652aca9cb3aaa8b4518db2;hb=24612483d31a48f26d3a153c560ddcdbcf5af9c3;hp=eee818825baa3462e1a97dd79b42c1ffe6ca34ff;hpb=4c3b3a698564eba070bb05401d13d56060e89816;p=p5sagit%2FDistar.git diff --git a/lib/Distar.pm b/lib/Distar.pm index eee8188..97dda68 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -161,6 +161,19 @@ sub write_manifest_skip { $out; } + sub libscan { + my $self = shift; + my ($path) = @_; + + # default setup for Distar involves checking it out as a subdirectory at + # the top of the dist. Without NORECURS, EUMM would try to include + # Distar's Makefile.PL. Prevent EUMM from looking inside. + return '' + if $path eq 'Distar'; + + $self->SUPER::libscan(@_); + } + sub tarfile_target { my $self = shift; my $out = $self->SUPER::tarfile_target(@_);