3 This file is part of builder
4 Copyright © 2007-2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #include <msp/core/systemerror.h>
9 #include <msp/fs/utils.h>
10 #include "filetarget.h"
11 #include "sourcepackage.h"
14 Unlink::Unlink(Builder &b, const FileTarget &t):
17 const SourcePackage &spkg = *static_cast<const SourcePackage *>(t.get_package());
19 announce(spkg.get_name(), "RM", relative(t.get_path(), spkg.get_source()).str());
25 catch(const Msp::system_error &)