On 11/19/2011 01:32 PM, Holger Hoefling wrote:
Hi everyone,
I wanted to thank everyone for their helpful suggestions and wanted to
share the best solutions I heard of and found.
One solution is to include a rule in the makefile for every sourcecode
file that that copies it and only updates the copy if something has
changed (see Nick's email below).
Or tangle to one directory, and then copy to another; then there's one
rule for all of the transitions.
work/%: tangle/%
@cmp --silent $< $@ || ( echo "Updating $@" ; cp $< $@ )
I liked Nick's "cmp" invocation; I started out with diff. :)
- Allen S. Rout