FS::unlink(lib.get_path());
}
- announce(comp.get_package().get_name(), tool, relative(lpath, work_dir).str());
+ announce(comp.get_package().get_name(), tool, relative(lpath, work_dir).str().substr(2));
launch();
}
if(!builder.get_dry_run())
FS::mkpath(FS::dirname(opath), 0755);
- announce(comp.get_package().get_name(), tool, relative(opath, work_dir).str());
+ announce(comp.get_package().get_name(), tool, basename(opath));
launch();
}
src(s),
dest(d)
{
- announce(pkg.get_name(), "COPY", dest[-1]);
+ announce(pkg.get_name(), "COPY", dest.str());
if(builder.get_verbose()>=2)
IO::print("%s -> %s\n", s, d);
if(!builder.get_dry_run())
FS::mkpath(FS::dirname(binpath), 0755);
- announce(comp.get_package().get_name(), tool, relative(binpath, work_dir).str());
+ announce(comp.get_package().get_name(), tool, relative(binpath, work_dir).str().substr(2));
launch();
}
{
const SourcePackage &spkg=*static_cast<const SourcePackage *>(p.get_package());
- announce(spkg.get_name(), "PC", relative(p.get_path(), spkg.get_source()).str());
+ announce(spkg.get_name(), "PC", basename(p.get_path()));
IO::BufferedFile out(p.get_path().str(), IO::M_WRITE);
// Prefix is already included in the various paths