mirror of https://gitlab.com/ita1024/waf.git
special case of files created in the source directory in combination with update_outputs
This commit is contained in:
parent
2048f0fb89
commit
d2fcc7b7be
|
@ -1101,9 +1101,17 @@ def update_outputs(cls):
|
||||||
prev_sig = bld.task_sigs[self.uid()]
|
prev_sig = bld.task_sigs[self.uid()]
|
||||||
if prev_sig == self.signature():
|
if prev_sig == self.signature():
|
||||||
for x in self.outputs:
|
for x in self.outputs:
|
||||||
|
if not x.is_child_of(bld.bldnode):
|
||||||
|
# special case of files created in the source directory
|
||||||
|
# hash them here for convenience -_-
|
||||||
|
x.sig = Utils.h_file(x.abspath())
|
||||||
if not x.sig or bld.task_sigs[x.abspath()] != self.uid():
|
if not x.sig or bld.task_sigs[x.abspath()] != self.uid():
|
||||||
return RUN_ME
|
return RUN_ME
|
||||||
return SKIP_ME
|
return SKIP_ME
|
||||||
|
except OSError:
|
||||||
|
pass
|
||||||
|
except IOError:
|
||||||
|
pass
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
except IndexError:
|
except IndexError:
|
||||||
|
@ -1115,4 +1123,3 @@ def update_outputs(cls):
|
||||||
|
|
||||||
return cls
|
return cls
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue