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 <psm...@gnu.org> 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 <psm...@gnu.org> 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 > Bug-make@gnu.org > https://lists.gnu.org/mailman/listinfo/bug-make _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make