Permalink
Browse files

Use EU::MM, not Module::Build.

Yes, choosing EU::MM over Module::Build probably makes Baby Jesus cry, but when
it comes to preparing releases, I know EU::MM well enough to JFDI, whereas I'm
not very familiar with M::B.

One day soon, I'll sit down with Dist::Zilla, learn to love it, and let it take
care of lots of stuff for me.

Until that day, EU::MM works.
  • Loading branch information...
1 parent a7f6497 commit 8bf0929533b2c634777d16369ea8c4350df7d4b6 @bigpresh committed Dec 9, 2010
Showing with 26 additions and 53 deletions.
  1. +0 −33 Build.PL
  2. +26 −20 Makefile.PL
View
@@ -1,33 +0,0 @@
-use Module::Build;
-
-my $build = Module::Build->new
- (
- module_name => 'Pod::Readme',
- license => 'perl',
- requires => {
- 'perl' => '5.005',
- 'Carp' => 0,
- 'File::Copy' => 0, # for pod2readme script
- 'IO::File' => 0,
- 'Pod::Text' => '3.0',
- 'Regexp::Common' => 0,
- },
- recommends => {
- 'Test::Pod' => '1.00', # for DEVEL_TESTS tests
- 'Test::Pod::Coverage' => 0,
- 'Test::Portability::Files' => 0, #
- },
- build_requires => {
- 'Test::More' => 0,
- },
- script_files => [
- 'bin/pod2readme',
- ],
- create_readme => ($Module::Build::VERSION >= 0.2702),
- create_makefile_pl => 'traditional',
- dist_author => 'Robert Rothenberg <rrwo at cpan.org>',
- sign => 0,
-);
-
-$build->create_build_script;
-
View
@@ -1,21 +1,27 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
+use strict;
+use warnings;
use ExtUtils::MakeMaker;
-WriteMakefile
-(
- 'NAME' => 'Pod::Readme',
- 'VERSION_FROM' => 'lib/Pod/Readme.pm',
- 'PREREQ_PM' => {
- 'Carp' => '0',
- 'File::Copy' => '0',
- 'IO::File' => '0',
- 'Pod::Text' => '3.0',
- 'Regexp::Common' => '0',
- 'Test::More' => '0'
- },
- 'INSTALLDIRS' => 'site',
- 'EXE_FILES' => [
- 'bin/pod2readme'
- ],
- 'PL_FILES' => {}
- )
-;
+WriteMakefile(
+ NAME => 'Pod::Readme',
+ AUTHOR => 'David Precious <davidp@preshweb.co.uk>',
+ VERSION_FROM => 'lib/Pod/Readme.pm',
+ ABSTRACT_FROM => 'lib/Pod/Readme.pm',
+ ($ExtUtils::MakeMaker::VERSION >= 6.3002
+ ? (LICENSE=> 'perl')
+ : ()),
+ PREREQ_PM => {
+ 'Carp' => '0',
+ 'File::Copy' => '0',
+ 'IO::File' => '0',
+ 'Pod::Text' => '3.0',
+ 'Regexp::Common' => '0',
+ 'Test::More' => '0'
+ },
+ INSTALLDIRS => 'site',
+ EXE_FILES => [
+ 'bin/pod2readme'
+ ],
+ PL_FILES => {},
+ dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
+ clean => { FILES => 'Pod-Readme-*' },
+);

0 comments on commit 8bf0929

Please sign in to comment.