packages: perl-version/perl-version.spec - up to 0.88 - build using Makefil...

Jakub Bogusz qboosh at pld-linux.org
Fri Feb 11 15:51:17 CET 2011


On Fri, Feb 11, 2011 at 01:01:26PM +0200, Elan Ruusamäe wrote:
> On 11.02.2011 12:54, lisu wrote:
> > - build using Makefile.pl instead of Build.pl
> > - more verbose man files
> and why is that?
> 
> so far i've understood that Makefile.PL is deprecated method (hacks to 
> wrap over make(1) where Build.PL is more native (pure Perl and more 
> cross platform meaning less hacks)

These are two most commonly used build systems for Perl modules:
1) ExtUtils::MakeMaker (which uses Makefile.PL + make)
2) Module::Build (which uses Build.PL, in this case Makefile.PL is just
  a wrapper)

In second case you're right that calling Build.PL directly is preferred,
but in the first case there is no alternative.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list