Re: [Module-build-general] Re: Figuring out signature stuff
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-05-22 16:22:32
|
On Thursday, May 22, 2003, at 01:35 AM, Autrijus Tang wrote: > On Wed, May 21, 2003 at 10:09:44PM -0500, Ken Williams wrote: >> 1) The distdir (e.g. Sample-Module-0.11/ ) is created, including >> a META.yml file inside it >> 2) Module::Signature creates a SIGNATURE file in the distdir, >> scanning >> the contents of the distdir and the MANIFEST inside it >> >> Because it seems like the distribution should be created, then signed. > > This can work, except that MANIFEST need to include SIGNATURE in its > listing. [following up again on the dropped issue] This kind of chicken-egg problem is tough to deal with in MakeMaker, and I haven't really figured out whether it's any better in M::B yet. My standard approach to this is to make a dummy file in the main directory, let distdir copy it into the distdir/, and then overwrite the copied dummy file with the real info. The main drawback to this is just that it's a little messy, the SIGNATURE in the main directory is superfluous. But it should *work*. -Ken |