in reply to Re^4: How do I configure Module::Build to build multiple packages from the same lib directory?
in thread How do I configure Module::Build to build multiple packages from the same lib directory?

I don't think there is an existing solution but you should check on the module-build list to be sure.

If I were in in your corner, I would go with 5 (1 + 2 = 5), and keep it perl, something like

% perl build-dist1.pl creating dist1tempdir chdir dist1tempdir copying defaults (README INSTALL LICENSE...) creating MANIFEST copying files creating Module::Build object (like in Build.PL) dispatch build dispatch test dispatch dist created dist1-0.01.tar.gz successfully destroying Module::Build object uploading dist1-0.01.tar.gz chdir .. cleaning up dist1tempdir done!
See File::Temp, File::Copy,
http://search.cpan.org/~rkobes/ExtUtils-Manifest-1.55/lib/ExtUtils/Manifest.pm#manicopy
http://search.cpan.org/~kwilliams/Module-Build-0.30/lib/Module/Build/Authoring.pod#AUTOMATION
http://search.cpan.org/~kwilliams/Module-Build-0.30/lib/Module/Build/API.pod#dispatch($action,_%args)
  • Comment on Re^5: How do I configure Module::Build to build multiple packages from the same lib directory?
  • Download Code

Replies are listed 'Best First'.
Re^6: How do I configure Module::Build to build multiple packages from the same lib directory?
by ELISHEVA (Prior) on Nov 04, 2008 at 13:18 UTC

    Many thanks! This was exactly the kind of answer I was looking for, though I'm a bit frustrated that there doesn't seem to be module.

    beth