emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Not overwriting unchanged source code files when tangling


From: Brian Wightman
Subject: Re: [O] Not overwriting unchanged source code files when tangling
Date: Fri, 18 Nov 2011 11:28:29 -0600

On Fri, Nov 18, 2011 at 11:02 AM, Carsten Dominik
<address@hidden> wrote:
> How about changing the make file so that the dependence is on the Org file, 
> not on the source file?
> You could then arrange for make to call emacs in batch-mode to tangle the 
> source file and then compile it?

The original question was trying to avoid recompiling everything
generated from a tangle if the content didn't actually change.
Because retangling the source rewrites /all/ of the files, and resets
the dates, even if nothing has changed, make will then rebuild
everything that was tangled, not just the partial set of tangled files
that actually changed.

Brian



reply via email to

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