ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/Makefile.PL
(Generate patch)

Comparing AnyEvent/Makefile.PL (file contents):
Revision 1.24 by root, Thu Jul 23 00:42:52 2009 UTC vs.
Revision 1.31 by root, Mon Nov 22 06:32:18 2010 UTC

19*** and performant, even without any of the optional modules. 19*** and performant, even without any of the optional modules.
20*** 20***
21 21
22EOF 22EOF
23 23
24do "constants.pl.PL"
25 or die "cannot execute constants.pl.PL: $@";
26
24WriteMakefile( 27WriteMakefile(
25 dist => { 28 dist => {
26 PREOP => 'pod2text lib/AnyEvent.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 29 PREOP => 'pod2text lib/AnyEvent.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
27 COMPRESS => 'gzip -9v', 30 COMPRESS => 'gzip -9v',
28 SUFFIX => '.gz', 31 SUFFIX => '.gz',
29 }, 32 },
30 test => { TESTS => "t/*.t t/handle/*.t" }, 33 test => { TESTS => "t/*.t t/handle/*.t" },
31 NAME => "AnyEvent", 34 NAME => "AnyEvent",
32 VERSION_FROM => "lib/AnyEvent.pm", 35 VERSION_FROM => "lib/AnyEvent.pm",
36 PMLIBDIRS => ["lib"],
33 META_MERGE => { 37 META_MERGE => {
34 recommends => { 38 recommends => {
35 "Net::SSLeay" => 1.33, 39 "Net::SSLeay" => 1.33,
36 "JSON" => 2.09, 40 "JSON" => 2.09,
37 "JSON::XS" => 2.2, 41 "JSON::XS" => 2.2,
38 "EV" => 3.05, 42 "EV" => 4.00,
39 "Guard" => 1.02, 43 "Guard" => 1.02,
40 "Async::Interrupt" => 0.6, 44 "Async::Interrupt" => 1.0,
41 } 45 }
42 }, 46 },
43); 47);
44 48
45sub MY::postamble {
46 <<EOF;
47
48# set \$VERSION in all modules
49setver:
50 \$(PERL) -pi -e 's/^(\\s*(our\\s*)?\\\$\$VERSION\\s*=\\s*).*\$\$/\$\${1}\$(VERSION);/' \$(TO_INST_PM)
51
52EOF
53}
54

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines