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