public:
virtual const char *get_type() const { return "InstalledFile"; }
FileTarget &get_source() const { return source; }
+
+ /** Sets a symlink for the file. A relative path will be rooted at the
+ directory the file resides in. */
+ void set_symlink(const Msp::FS::Path &);
+
const Msp::FS::Path &get_symlink() const { return link; }
+
virtual Target *get_real_target();
private:
virtual void check_rebuild();
+
+public:
+ virtual void clean();
};
#endif