diff options
author | Michael G. Schwern <schwern@pobox.com> | 2003-04-10 17:32:02 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-04-12 13:41:25 +0000 |
commit | 431b0fc4d67b7f221bc3905fc50b43677201f1c6 (patch) | |
tree | 7bb5f6cb6c5fc88df04ae7b1c4ba7648d61a01f8 /lib/ExtUtils/MM_Any.pm | |
parent | bcbfb61f88277e13fc99a5975ccfe2d69a14b0f0 (diff) | |
download | perl-431b0fc4d67b7f221bc3905fc50b43677201f1c6.tar.gz |
MakeMaker 6.10_02 -> 6.10_03
Message-ID: <20030411073202.GC5916@windhund.schwern.org>
p4raw-id: //depot/perl@19190
Diffstat (limited to 'lib/ExtUtils/MM_Any.pm')
-rw-r--r-- | lib/ExtUtils/MM_Any.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/ExtUtils/MM_Any.pm b/lib/ExtUtils/MM_Any.pm index c0ffb2fe5e..4bdcf671b6 100644 --- a/lib/ExtUtils/MM_Any.pm +++ b/lib/ExtUtils/MM_Any.pm @@ -557,6 +557,11 @@ include: sub metafile_target { my $self = shift; + return <<'MAKE_FRAG' if $self->{NO_META}; +metafile: + $(NOECHO) $(NOOP) +MAKE_FRAG + my $prereq_pm = ''; while( my($mod, $ver) = each %{$self->{PREREQ_PM}} ) { $prereq_pm .= sprintf " %-30s %s\n", "$mod:", $ver; @@ -594,6 +599,11 @@ Adds the META.yml file to the MANIFEST. sub metafile_addtomanifest_target { my $self = shift; + return <<'MAKE_FRAG' if $self->{NO_META}; +metafile_addtomanifest: + $(NOECHO) $(NOOP) +MAKE_FRAG + my $add_meta = $self->oneliner(<<'CODE', ['-MExtUtils::Manifest=maniadd']); maniadd({q{META.yml} => q{Module meta-data in YAML}}); CODE |