redo.py: don't add dependencies on files we rebuild.
redo-ifchange already does this, and then calls redo.py, so it's redundant. The only weird case is if a .do file calls 'redo' instead of 'redo-ifchange'. I'm not sure what exactly is supposed to happen here. test.do does this, for example, and it works, but only because we always do 'redo test' and nobody depends on 'redo-ifchange test'; if they did, the dependencies would be off, I guess. But maybe it's meaningless to do that anyway.
This commit is contained in:
parent
2c3df2c80a
commit
89449b909c
1 changed files with 0 additions and 3 deletions
3
redo.py
3
redo.py
|
|
@ -117,7 +117,4 @@ startdir = os.getcwd()
|
|||
for t in targets:
|
||||
mkdirp('%s/.redo' % vars.BASE)
|
||||
os.chdir(startdir)
|
||||
|
||||
if vars.TARGET:
|
||||
add_dep(vars.TARGET, 'm', t)
|
||||
build(t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue