diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-09-14 23:59:39 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-09-14 23:59:39 +0000 |
commit | 5a32418a040e967887aa6e01e41abc22932471db (patch) | |
tree | b43cd556e925cd07d2a25be622c7894a1c76e794 /src/targetfile.cpp | |
parent | c831a3947d7ac517fceaf8981d56c5ddcdaf26b1 (diff) | |
download | build-5a32418a040e967887aa6e01e41abc22932471db.tar.gz build-5a32418a040e967887aa6e01e41abc22932471db.tar.bz2 build-5a32418a040e967887aa6e01e41abc22932471db.tar.xz build-5a32418a040e967887aa6e01e41abc22932471db.zip |
Made more changes, this one has a little extra debug, get the next one.
Diffstat (limited to 'src/targetfile.cpp')
-rw-r--r-- | src/targetfile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/targetfile.cpp b/src/targetfile.cpp index 3743297..6ea83d5 100644 --- a/src/targetfile.cpp +++ b/src/targetfile.cpp | |||
@@ -72,6 +72,7 @@ void TargetFile::clean( Build &bld ) | |||
72 | { | 72 | { |
73 | if( access( (*i)->getTarget().c_str(), W_OK ) == 0 ) | 73 | if( access( (*i)->getTarget().c_str(), W_OK ) == 0 ) |
74 | { | 74 | { |
75 | (*i)->setRule("clean"); | ||
75 | bld.getView()->beginPerform( *i ); | 76 | bld.getView()->beginPerform( *i ); |
76 | unlink( (*i)->getTarget().c_str() ); | 77 | unlink( (*i)->getTarget().c_str() ); |
77 | bld.getView()->endPerform(); | 78 | bld.getView()->endPerform(); |