summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/MM_Any.pm
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2003-04-10 17:32:02 -0700
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-04-12 13:41:25 +0000
commit431b0fc4d67b7f221bc3905fc50b43677201f1c6 (patch)
tree7bb5f6cb6c5fc88df04ae7b1c4ba7648d61a01f8 /lib/ExtUtils/MM_Any.pm
parentbcbfb61f88277e13fc99a5975ccfe2d69a14b0f0 (diff)
downloadperl-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.pm10
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