X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.cpp;h=eea40fcdae6eda6f63dc30f09988736fa88a7fbc;hb=0ac8d6708b8c758fb89d97a0049d4a329990b83b;hp=23cd6f1af358cebb11e9e526a7ede7ef1af4ef0b;hpb=0d80cabf649b931b26e7055385156c75a7385d35;p=builder.git diff --git a/source/copy.cpp b/source/copy.cpp index 23cd6f1..eea40fc 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -1,5 +1,15 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + +#include #include +#include #include +#include "builder.h" #include "copy.h" #include "package.h" @@ -7,32 +17,55 @@ using namespace std; using namespace Msp; Copy::Copy(Builder &b, const Package &pkg, const Path::Path &s, const Path::Path &d): - Action(b), + InternalAction(b), src(s), - dest(d), - worker(*this) + dest(d) { - announce(pkg.get_name(), "INST", dest[-1]); + announce(pkg.get_name(), "COPY", dest[-1]); + if(builder.get_verbose()>=2) + cout< "<