From: Graham Knop Date: Tue, 23 Aug 2016 09:35:31 +0000 (-0400) Subject: remake using Distar even if not in Makefile.PL X-Git-Tag: v0.003000~26 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2c75254f0cfbdbaa6036a9c74f826ddc2078f77f;p=p5sagit%2FDistar.git remake using Distar even if not in Makefile.PL --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 0bc7d36..4682e04 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -144,7 +144,7 @@ sub write_manifest_skip { my %vars = ( DISTAR => $self->quote_literal($distar), HELPERS => $self->quote_literal($helpers), - REMAKE => join(' ', '$(PERLRUN)', 'Makefile.PL', map { $self->quote_literal($_) } @ARGV), + REMAKE => join(' ', '$(PERLRUN)', '-I$(DISTAR)/lib', '-mDistar', 'Makefile.PL', map { $self->quote_literal($_) } @ARGV), BRANCH => $self->{BRANCH} ||= 'master', CHANGELOG => $self->{CHANGELOG} ||= 'Changes', DEV_NULL_STDOUT => ($self->{DEV_NULL} ? '>'.File::Spec->devnull : ''),