| ExtUtils-MY_Metafile documentation | view source | Contained in the ExtUtils-MY_Metafile distribution. |
ExtUtils::MY_Metafile - META.yml customize with ExtUtil::MakeMaker
Version 0.09
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',
...
);
This module exports one function.
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.
If you not specify directory parameter for no_index and
there are any directory of inc t ex eg example examples
sample samples demo demos, they are set as it.
requires directive is set from PREREQ_PM parameter
of EUMM. If you want to use build_requires, you can write it.
YAMASHINA Hio, <hio at cpan.org>
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.
You can find documentation for this module with the perldoc command.
perldoc ExtUtils::MY_Metafile
You can also look for information at:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MY_Metafile
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.
| ExtUtils-MY_Metafile documentation | view source | Contained in the ExtUtils-MY_Metafile distribution. |