Re: [Module-build-general] make doesn't create man pages
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-08-01 14:42:52
|
On Thursday, July 31, 2003, at 06:32 PM, Steve Purkis wrote: > > To fix it you could make 'build' dispatch to 'builddocs', but that > would be bad seeing as 'builddocs' should (but doesn't for some > reason?) depend on 'build', which means an infinite loop. > > So maybe the best idea is to take the common code out of 'builddocs' > and call it from both actions, and fix the dependency issue? Hmm, this isn't the first time this kind of dependency issue has cropped up. Building the META.yml file had the same issues, it took Dave several tries to rework the dependency order. I'm thinking it would be best to make depends_on() work like perl's require(), in that it will only run each action once per "./Build foo" (i.e. once per dispatch() invocation). If that proves too inflexible we may need to provide additional controls on it, but I think it should simplify dependencies quite a bit. -Ken |