[OpenAFS-devel] avoiding make rules with multiple targets

Benjamin Kaduk kaduk@MIT.EDU
Wed, 20 Feb 2013 13:23:19 -0500 (EST)


On Wed, 20 Feb 2013, Marc Dionne wrote:

> On Tue, Feb 19, 2013 at 7:10 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:
>
>> We've had a few commits over the years to help parallel builds along by
>> splitting rules with two targets into two separate rules, one a pure
>> dependency and the other with the actual contents of the rule (usually
>> compile_et).
>>
>> Is there reason to not make a budb_client.h that is the contents of
>> budb_client.p.h with #include <budb_errs.h> added?  Alternately we could
>> process the template manually with the shell.
>>
>> [tbudb has the same issue]
>>
>> -Ben
>>
>
> Sounds like we want commit 0d0b5048a5b68d4079b13609775f9234183d1947 from
> master?

Hmm, I missed that when skimming through the logs.
Yes, I think we should cherry-pick that.  Simon, you want to do so, or 
should I?

I am not fully confident that I understand the behavior of make in the 
case I have logs for, and thus I am not sure whether a broader issue 
remains.

-Ben