-Copy::Copy(Builder &b, const Package &pkg, const Path::Path &s, const Path::Path &d):
- Action(b),
- src(s),
- dest(d),
- worker(0)
-{
- announce(pkg.get_name(), "COPY", dest[-1]);
- if(builder.get_verbose()>=2)
- cout<<s<<" -> "<<d<<'\n';
-
- if(!builder.get_dry_run())
- worker=new Worker(*this);
-}