[Module-build-general] Re: Recursive building
Status: Beta
Brought to you by:
kwilliams
|
From: Scott C. <ca...@cs...> - 2003-09-26 19:44:43
|
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
|