> -----Original Message-----
> From: Marvin Humphrey [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 07, 2005 2:31 PM
> To: Eric Wilhelm
> Cc: inline@perl.org
> Subject: Re: Multi-module install complications
> 
> MakeMaker, when running a Makefile.PL, searches all 
> directories in the distro recursively for other files named 
> Makefile.PL.  But it seems weird for me to hide another 
> Makefile.PL somewhere in my lib/ directory.  Stuff like 
> Makefile.OLD doesn't clutters up those dirs fast, and 
> _anything_ in the PMLIBDIRS directories gets copied to the 
> installation destination.  I have enough trouble trying to 
> keep vim's .swp files out of there!
> 
> So if it isn't going to go in the lib directory, where?  

Traditionally people create some other directory under the top-level
directory (usually it's named, for example, Bar/ if it's building
Foo::Bar) and put a separate Makefile.PL in there to build it.

See, for example, my AI::DecisionTree distribution, which has an
Instance/ subdirectory for building the AI::DecisionTree::Instance
module.  It's XS-based, not Inline-based, but it should work basically
the same.

 -Ken

Reply via email to