Project

General

Profile

« Previous | Next » 

Revision 4411

input.Makefile: `%: %.make`: Only remake if doesn't exist. This prevents unintentional remaking when the make script is newly checked out from svn (which sets the mod time to now) but the output is synced externally.

View differences:

inputs/input.Makefile
88 88
%/: % _always ;
89 89

  
90 90
%: %.make
91
	(set -x; "time" $(make_script)) 2>>$<.log
91
	$(if $(wildcard $@),,(set -x; "time" $(make_script)) 2>>$<.log)
92
# Only remake if doesn't exist. This prevents unintentional remaking when the
93
# make script is newly checked out from svn (which sets the mod time to now) but
94
# the output is synced externally.
95
# Can't remove prereq to do this, because it determines when the rule applies.
92 96
.PRECIOUS: % # save partial outputs of aborted src make scripts
93 97

  
94 98
##### SVN

Also available in: Unified diff