[tapx-dev] Makefile.PL and Build.PL

Eric Wilhelm scratchcomputing at gmail.com
Tue Jul 17 09:35:28 BST 2007


# from Ovid
# on Tuesday 17 July 2007 12:41 am:

>> I noticed that we've got both of these and Makefile.PL is not
>> autogenerated.  Any objections to killing Makefile.PL and generating
>> it with ./Build distmeta?
>
>Will it be completely backwards compatible with Build.PL?

Iff we use the create_makefile_pl => 'passthrough' option, yes.  That 
would attempt to install Module::Build from CPAN and create a makefile 
that calls ./Build actions for all of the targets.

>I 
> originally created them separately because there was stuff I had that
> wouldn't autogenerate.  I used this key/value in the Module::Build
> constructor: create_makefile_pl  => 'traditional',The problem with
> doing this is that we don't get the "Do you wish to install the
> 'runtests' utility?" prompt, and, as a result, the user never gets
> runtests installed.

Well, if you *really* want 'traditional' (to have pure 
ExtUtils::MakeMaker support (that is, without M::B)), we could override 
the "generate makefile" step.

Or, we could just install runtests.  Why not?

--Eric
-- 
So malloc calls a timeout and starts rummaging around the free chain,
sorting things out, and merging adjacent small free blocks into larger
blocks. This takes 3 1/2 days.
--Joel Spolsky
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------


More information about the tapx-dev mailing list