+++ /dev/null
-#include <msp/core/systemerror.h>
-#include <msp/fs/utils.h>
-#include "filetarget.h"
-#include "sourcepackage.h"
-#include "unlink.h"
-
-Unlink::Unlink(Builder &b, const FileTarget &t):
- Action(b)
-{
- const SourcePackage &spkg = *static_cast<const SourcePackage *>(t.get_package());
-
- announce(spkg.get_name(), "RM", relative(t.get_path(), spkg.get_source()).str());
-
- try
- {
- unlink(t.get_path());
- }
- catch(const Msp::system_error &)
- { }
-}
-
-int Unlink::check()
-{
- signal_done.emit();
- return 0;
-}