4 #include "sourcepackage.h"
5 #include "filetarget.h"
8 Represents the installation of a file.
10 class Install: public FileTarget
16 Install(Builder &, const SourcePackage &, FileTarget &, const std::string & =std::string());
17 virtual const char *get_type() const { return "Install"; }
18 FileTarget &get_source() const { return source; }
19 virtual Target *get_real_target();
21 virtual void check_rebuild();
22 virtual Action *create_action();
24 static Msp::FS::Path generate_target_path(const FileTarget &i, const std::string &);