diff options
Diffstat (limited to '')
-rw-r--r-- | src/conditionfiletime.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/conditionfiletime.cpp b/src/conditionfiletime.cpp index 224caf1..148ffac 100644 --- a/src/conditionfiletime.cpp +++ b/src/conditionfiletime.cpp | |||
@@ -25,6 +25,7 @@ bool ConditionFileTime::shouldExec( class Runner &r, Target &rTarget ) | |||
25 | //sio << "-- Target processed because '" << *j << "' doesn't exist." | 25 | //sio << "-- Target processed because '" << *j << "' doesn't exist." |
26 | // << sio.nl; | 26 | // << sio.nl; |
27 | // Output doesn't exist | 27 | // Output doesn't exist |
28 | rTarget.buildRequires( r ); | ||
28 | return true; | 29 | return true; |
29 | } | 30 | } |
30 | } | 31 | } |
@@ -48,10 +49,11 @@ bool ConditionFileTime::shouldExec( class Runner &r, Target &rTarget ) | |||
48 | { | 49 | { |
49 | //sio << "-- Target processed because '" << *j | 50 | //sio << "-- Target processed because '" << *j |
50 | // << "' is newer than output." << sio.nl; | 51 | // << "' is newer than output." << sio.nl; |
52 | rTarget.buildRequires( r ); | ||
51 | return true; | 53 | return true; |
52 | } | 54 | } |
53 | } | 55 | } |
54 | rTarget.buildRequires( r ); | 56 | rTarget.gatherRequires( r ); |
55 | for( StrList::const_iterator j = rTarget.getRequiresList().begin(); | 57 | for( StrList::const_iterator j = rTarget.getRequiresList().begin(); |
56 | j; j++ ) | 58 | j; j++ ) |
57 | { | 59 | { |
@@ -60,6 +62,7 @@ bool ConditionFileTime::shouldExec( class Runner &r, Target &rTarget ) | |||
60 | { | 62 | { |
61 | //sio << "-- Target processed because '" << *j | 63 | //sio << "-- Target processed because '" << *j |
62 | // << "' is newer than output." << sio.nl; | 64 | // << "' is newer than output." << sio.nl; |
65 | rTarget.buildRequires( r ); | ||
63 | return true; | 66 | return true; |
64 | } | 67 | } |
65 | } | 68 | } |