automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Automake-ng] [PATCH 0/4] Dependency tracking and compilation rules:


From: Stefano Lattarini
Subject: Re: [Automake-ng] [PATCH 0/4] Dependency tracking and compilation rules: some improvements
Date: Wed, 01 Feb 2012 22:21:16 +0100

On 02/01/2012 09:57 PM, Stefano Lattarini wrote:
> On 02/01/2012 10:08 AM, Stefano Lattarini wrote:
>> Another round of improvements and refactoring for the most important
>> compilation rules.  The last patch is a bugfix.
>>
>> Stefano Lattarini (4):
>>   [ng] compiling: implement VPATH rewrites using GNU make primitives
>>   [ng] compiling: remove some code duplication in depend2.am
>>   [ng] vpath: define generic make function for VPATH rewrites
>>   [ng] yacc, lex: fix subdir VPATH builds
>>
> I've pushed this series now.  Thanks to Jim for his comments and corrections.
> 
Ouch, our new VPATH rewrite doesn't work in some corner situations with GNU
make 3.81 (at least) causing failures of tests 'yacc-subobj-nodep.test' and
'lex-subobj-nodep.test' :-(

*But* it turns that our by-hand VPATH rewriting isn't really needed after
all -- GNU make, starting from at least version 3.78, takes care of that
automatically when '$<' is used!  Yippy!

So we can simplify our rules even more, *and* increase portability while
doing so.  Sometimes life is sweet :-)

What about the attached patch?  I will push by tomorrow if there is no
objection.

Thanks,
  Stefano

Attachment: 0001-ng-yacc-lex-compiling-better-use-of-simplify-and-fix.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]