X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.cpp;h=bdcd0a94a8006ec108c31ecfbea5e3ce7d4d97bc;hb=4c11e2a041d2064f44b7eb3dbf1976c35fc8881c;hp=cdbbd48f1eead0b7c399a4b7ec7ad534252be2c4;hpb=5504b35e6c6cfb1cfa098b94e31cda173cc0482a;p=builder.git diff --git a/source/copy.cpp b/source/copy.cpp index cdbbd48..bdcd0a9 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -1,5 +1,13 @@ +/* $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" @@ -8,38 +16,43 @@ using namespace std; using namespace Msp; -Copy::Copy(Builder &b, const Package &pkg, const Path::Path &s, const Path::Path &d): - Action(b), +Copy::Copy(Builder &b, const Package &pkg, const Path &s, const Path &d): + 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< "<