Tool(b, "TAR")
{ }
-Target *Tar::create_target(const list<Target *> &sources, const string &arg) const
+Target *Tar::create_target(const list<Target *> &sources, const string &arg)
{
if(!sources.front()->get_package())
throw invalid_argument("Tar::create_target");
for(list<Target *>::const_iterator i=sources.begin(); i!=sources.end(); ++i)
tarball->add_dependency(**i);
+ tarball->set_tool(*this);
+
return tarball;
}