bug-make
[Top][All Lists]
Advanced

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

Re: Content tracking mode for make


From: Daniel Herring
Subject: Re: Content tracking mode for make
Date: Mon, 13 Feb 2012 18:09:03 -0500
User-agent: Alpine 2.02 (LRH 1266 2009-07-14)

On Mon, 13 Feb 2012, Raman Gopalan wrote:

Also, do you suggest a work around?

Something like this?

output.h : source.file
        codegen -o output.h-tmp source.file
        diff output.h output.h-tmp >/dev/null || mv output.h-tmp output.h
        rm -f output.h-tmp

?
(untested)

- Daniel



reply via email to

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