develooper Front page | perl.makemaker | Postings from March 2003

'make dist' now adds META.yml

Thread Next
From:
schwern
Date:
March 6, 2003 06:38
Subject:
'make dist' now adds META.yml
Message ID:
20030306063836.G22769@ttul.org
The latest MakeMaker (snapshot on makemaker.org) will now generate a 
META.yml file as part of the distdir target, including adding it to the 
MANIFEST.  The intent is to get module meta-data on CPAN without authors 
doing any work.  All they have to do is upgrade MakeMaker and then 
'make dist' will Do The Right Thing.

A "NO_META" option to Makefile.PL is needed to supress generation of the
META.yml file in case the author wants to do it their own way, or not at all.
Patches welcome.

The META.yml file is intented to be compatible with Module::Build's and 
currently looks something like this:

#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
name:         ExtUtils-MakeMaker
version:      6.06_03
version_from: lib/ExtUtils/MakeMaker.pm
installdirs:  perl
requires:
    File::Spec:                    0.8
    File::Basename:                0
    DirHandle:                     0
    Pod::Man:                      0

distribution_type: module
generated_by: ExtUtils::MakeMaker version 6.06_03


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About