On Thursday, April 25, 2002, at 01:45 PM, Stas Bekman wrote:
>
> What about adding a new flag? e.g. if the main Makefile.PL says:
>
> WriteMakefile(
>     PrivateCompartment => 1,
>     ...
> )
>
> then it'll provide one and all children will inherit it unless 
> they explicitly override it?

It's difficult to add new flags to MakeMaker, because you have 
to ensure that all the people installing your module have a 
version of MakeMaker that supports it.  Perhaps "difficult" 
isn't the right word - more like "futile".
If you don't mind putting a MakeMaker dependency in the 
distribution, though, it can be done.

Really, it would be nice to have separate "build_dependency" 
items, like a real package manager.

Stas, for your problem, a really ugly but workable solution 
might be to fork the main process in each of the subdirs' 
Makefile.PL's, oder?

  -Ken

Reply via email to