It's okay if a file is marked as generated and doesn't have a .do.
If we don't know how to rebuild the file, but it already exists, that's pretty harmless. Just consider it a successful rebuild.
This commit is contained in:
parent
77eacf1423
commit
190dd657d8
1 changed files with 5 additions and 2 deletions
|
|
@ -69,6 +69,9 @@ class BuildJob:
|
||||||
state.start(t)
|
state.start(t)
|
||||||
(dofile, basename, ext) = _find_do_file(t)
|
(dofile, basename, ext) = _find_do_file(t)
|
||||||
if not dofile:
|
if not dofile:
|
||||||
|
if os.path.exists(t):
|
||||||
|
return self._after2(0)
|
||||||
|
else:
|
||||||
err('no rule to make %r\n' % t)
|
err('no rule to make %r\n' % t)
|
||||||
return self._after2(1)
|
return self._after2(1)
|
||||||
state.stamp(dofile)
|
state.stamp(dofile)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue