aboutsummaryrefslogtreecommitdiff
path: root/src/targetfile.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-14 23:59:39 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-14 23:59:39 +0000
commit5a32418a040e967887aa6e01e41abc22932471db (patch)
treeb43cd556e925cd07d2a25be622c7894a1c76e794 /src/targetfile.cpp
parentc831a3947d7ac517fceaf8981d56c5ddcdaf26b1 (diff)
downloadbuild-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 '')
-rw-r--r--src/targetfile.cpp1
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();