Re: [Module::Build] [PATCH] ppm_dist action
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2004-01-15 02:42:25
|
On Tuesday, January 13, 2004, at 08:46 PM, Randy W. Sims wrote: >> * For backwards compatibility (not really sure it's neccessary at >> this point, but...) I'd suggest leaving the 'ppd' action as is, and >> create a new 'ppm_dist' action that runs the 'ppd' action and creates >> an archive of the blib directory, running the 'build' action if >> neccessary. Ken? > > Attached is a patch that adds a new 'ppm_dist' action. It accepts a > 'codebase' argument just like the 'ppd' action. This action runs the > 'ppd' action and then builds an archive of the blib directory. Glenn, > this should allow you to "install on the same machine it is built on". > The 'ppd' action remains unchanged. Please let me know if this patch > is correct. It changes the semantics of the make_tarball() method a bit - I think we probably also want to make the tarball unpack to a name matching the filename people download. So I think maybe we should copy blib/ to a new directory (once the naming issue is solved) and then tarball it up, using the same old make_tarball() method. -Ken |