bug-make
[Top][All Lists]
Advanced

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

Re: 'withfile' function implementation


From: David Boyce
Subject: Re: 'withfile' function implementation
Date: Mon, 30 Jan 2012 17:44:36 -0500

Thanks, this will make a lot of people happy.

One nit: as mentioned earlier I think it would be good to document the
relationship of $(file ...) with timestamps. Assuming nothing special
is done (I haven't looked at the code) then writing a null string will
not update the timestamp. I tried to make a case in favor of doing
something special but either way it would be good to get the behavior
on the record.

David Boyce

On Sun, Jan 29, 2012 at 3:02 PM, Paul Smith <address@hidden> wrote:
> On Mon, 2012-01-23 at 09:52 -0800, Lawrence Ibarria wrote:
>> I do like this suggestion, feels quite clean!
>
> I implemented the "write" side of this proposal and committed it to CVS,
> along with regression tests and documentation.
>
> The "read" side is slightly more work but I can do this one too if
> people want it.  I'm not sure there's much advantage to it over $(shell
> cat <file>) as this is unlikely to be a performance bottleneck.
> Although from a portability and implementation alignment point of view
> it would be useful.
>
> --
> -------------------------------------------------------------------------------
>  Paul D. Smith <address@hidden>          Find some GNU make tips at:
>  http://www.gnu.org                      http://make.mad-scientist.net
>  "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
>
>
> _______________________________________________
> Bug-make mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-make



reply via email to

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