3 This file is part of builder
4 Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
11 #include "sourcepackage.h"
12 #include "filetarget.h"
15 Represents the installation of a file.
17 class Install: public FileTarget
23 Install(Builder &, const SourcePackage &, FileTarget &, const std::string & =std::string());
24 virtual const char *get_type() const { return "Install"; }
25 FileTarget &get_source() const { return source; }
27 virtual void check_rebuild();
28 virtual Action *create_action();
30 static Msp::FS::Path generate_target_path(const FileTarget &i, const std::string &);