Re: [Module-build-general] Re: Recursive building
Status: Beta
Brought to you by:
kwilliams
|
From: Steve P. <sp...@qu...> - 2003-09-29 10:23:58
|
Hi Scott, Ken, A lot of the people I've spoken to about M::B have pointed out that it doesn't do recursive builds yet, and for some of them it's a deciding factor to stick with MakeMaker. I'd say this is something that needs to go on the TODO list. -Steve On Friday, September 26, 2003, at 05:57 pm, Scott Cain wrote: > Hello, > > I just wanted to follow up with a simple example to illustrate what Ken > is talking about here. If I have the following directory structure: > > Top/ > Makefile.PL > MANIFEST > sub1/ > Makefile.PL > sub2/ > Makefile.PL > > and I execute `perl Makefile.PL`, then it magically recognizes that > there are Makefile.PL files in subdirectories and creates Makefiles for > those directories. If I replace Makefile.PL with Build.PL, that magic > no longer appears to happen. Additionally, `perl Build.PL` croaks > because there is no lib/ directory, and in the above scheme, there may > not always be a lib directory. I've attached two tarballs with > Makefile.PLs and Build.PLs to illustrate. > > Thanks, > Scott > > > On Thu, 2003-09-25 at 15:37, Ken Y. Clark wrote: >> All, >> >> We're discussing use of Module::Build for GMOD (http://www.gmod.org/), >> a rather large umbrella for many other projects. Currently, each part >> of GMOD is a separate download and build, some parts of which are Perl >> and some Java. The goal is to integrate them more fully one day, >> perhaps providing and installation process wherein you say "perl >> Build.PL --enable=foo --enable=bar" for each piece you want, and then >> the builds for each project go from there. Is it possible to have >> M::B build recursively through subdirectories? Further, what would it >> be like if some projects built differently from others, e.g., some >> still use ExtUtils::MakeMaker and some M::B? >> >> ky > -- > ----------------------------------------------------------------------- > - > Scott Cain, Ph. D. > ca...@cs... > GMOD Coordinator (http://www.gmod.org/) > 216-392-3087 > Cold Spring Harbor Laboratory > <Make_test.tar.gz><module_build.tar.gz> |