NAME
ExtUtils::MY_Metafile - META.yml customize with ExtUtil::MakeMaker
VERSION
Version 0.09
SYNOPSIS
put ExtUtils/MY_Metafile.pm into inc/ExtUtils/MY_Metafile.pm:
$ mkdir -p inc/ExtUtils
$ cp `perldoc -l ExtUtils::MY_Metafile` inc/ExtUtils/
and write in your Makefile.PL:
use ExtUtils::MakeMaker;
use inc::ExtUtils::MY_Metafile;
my_metafile {
no_index => {
directory => [ qw(inc example t), ],
},
license => 'perl',
};
WriteMakefile(
DISTNAME => 'Your::Module',
...
);
EXPORT
This module exports one function.
FUNCTIONS
my_metafile $modname => \%meta_param;
Takes two arguments. First one is package name to be generated, and you can omit this argument. Second is hashref which contains META.yml contents.
my_metafile {
no_index => {
directory => [ qw(inc example t), ],
},
license => 'perl',
};
Some parameters are checked automatically.
- no_index
-
If you not specify
directory
parameter forno_index
and there are any directory of inc t ex eg example examples sample samples demo demos, they are set as it. - requires
-
requires
directive is set fromPREREQ_PM
parameter of EUMM. If you want to usebuild_requires
, you can write it.
AUTHOR
YAMASHINA Hio, <hio at cpan.org>
BUGS
Please report any bugs or feature requests to bug-extutils-my_metafile at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ExtUtils-MY_Metafile. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc ExtUtils::MY_Metafile
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MY_Metafile
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2006-2008 YAMASHINA Hio, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.