If we can't find a .do file for a target, mark it as not is_generated.

This allows files to transition from generated to not-generated if the .do
file is ever removed (ie. the user is changing things and the file is now a
source file, not a target).
This commit is contained in:
Avery Pennarun 2010-12-06 03:12:53 -08:00
commit 51bbdc6c5a
2 changed files with 17 additions and 7 deletions

View file

@ -97,6 +97,12 @@ def stamp(t):
def unstamp(t):
unlink(_stampname(t))
unlink(_sname('dep', t))
def unmark_as_generated(t):
unstamp(t)
unlink(_sname('gen', t))
def stamped(t):