X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.cpp;h=f8c581bd5664ca123f4f657da77883c7dff1003b;hb=a2adbd9c0a8d7a7567848c4c6bdbf0de6ba32bb1;hp=c9cb3112ac25465d81ddf3a098eacbb5e46003ed;hpb=291455f435a4319ce3460e2e47d8f036222a3f92;p=builder.git diff --git a/source/copy.cpp b/source/copy.cpp index c9cb311..f8c581b 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -1,6 +1,16 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #include #include -#include +#include +#include +#include +#include #include "builder.h" #include "copy.h" #include "package.h" @@ -8,37 +18,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 FS::Path &s, const FS::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< "<