Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 2359
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: spoon [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Tue, 8 Apr 2003 13:30:05 +1000
To: bug-extutils-makemaker [...] rt.cpan.org
Subject: NO_META support
From: Iain Truskett <spoon [...] cpan.org>
Sorry about the lack of doc or test patches. I couldn't make head nor tail of the test suite. diff -Ndurp ExtUtils-MakeMaker-6.10_02/lib/ExtUtils/MakeMaker.pm ExtUtils-MakeMaker-6.10_02b/lib/ExtUtils/MakeMaker.pm --- ExtUtils-MakeMaker-6.10_02/lib/ExtUtils/MakeMaker.pm 2003-04-07 18:01:58.000000000 +1000 +++ ExtUtils-MakeMaker-6.10_02b/lib/ExtUtils/MakeMaker.pm 2003-04-08 13:21:50.000000000 +1000 @@ -204,6 +204,7 @@ sub full_setup { FULLPERL FULLPERLRUN FULLPERLRUNINST FUNCLIST H IMPORTS INST_ARCHLIB INST_SCRIPT INST_BIN INST_LIB INST_MAN1DIR INST_MAN3DIR + NO_META INSTALLDIRS DESTDIR PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX diff -Ndurp ExtUtils-MakeMaker-6.10_02/lib/ExtUtils/MM_Any.pm ExtUtils-MakeMaker-6.10_02b/lib/ExtUtils/MM_Any.pm --- ExtUtils-MakeMaker-6.10_02/lib/ExtUtils/MM_Any.pm 2003-04-07 12:37:13.000000000 +1000 +++ ExtUtils-MakeMaker-6.10_02b/lib/ExtUtils/MM_Any.pm 2003-04-08 13:28:00.000000000 +1000 @@ -556,6 +556,10 @@ include: sub metafile_target { my $self = shift; + return <<'MAKE_FRAG' if $self->{NO_META}; +metafile: + +MAKE_FRAG my $prereq_pm = ''; while( my($mod, $ver) = each %{$self->{PREREQ_PM}} ) { @@ -593,6 +597,10 @@ Adds the META.yml file to the MANIFEST. sub metafile_addtomanifest_target { my $self = shift; + return <<'MAKE_FRAG' if $self->{NO_META}; +metafile_addtomanifest: + +MAKE_FRAG my $add_meta = $self->oneliner(<<'CODE', ['-MExtUtils::Manifest=maniadd']); maniadd({q{META.yml} => q{Module meta-data in YAML}});
Thanks. Something remarkably like this is in the snapshot. Tests in basic.t.