doublestatic: fix dependencies if two files depend on one non-generated file.
If a and b both depend on c, and c is a static (non-generated) file that has changed since the last successful build of a and b, we would try to redo a, but would forget to redo b. Now it does both.
This commit is contained in:
parent
9fc5ae1b56
commit
f3413c0f7c
9 changed files with 31 additions and 8 deletions
10
t/deps/doublestatic.do
Normal file
10
t/deps/doublestatic.do
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
rm -f static.log
|
||||
|
||||
redo static1 static2
|
||||
|
||||
touch static.in
|
||||
. ../flush-cache.sh
|
||||
redo-ifchange static1 static2
|
||||
|
||||
COUNT=$(wc -l <static.log)
|
||||
[ "$COUNT" = 4 ] || exit 55
|
||||
Loading…
Add table
Add a link
Reference in a new issue