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:
parent
0979a6e666
commit
51bbdc6c5a
2 changed files with 17 additions and 7 deletions
6
state.py
6
state.py
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue