Re: [Module-build-general] make doesn't create man pages
Status: Beta
Brought to you by:
kwilliams
|
From: Steve P. <sp...@qu...> - 2003-08-01 23:42:55
|
On Friday, August 1, 2003, at 03:42 pm, Ken Williams wrote:
>
> 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.
Hmm... that sounds like a good idea. Maybe store everything in
$self->{_completed_actions} or something. Can't promise anything, but
I'll have a look into it in my copious amounts of free time next week.
-Steve
|