]> git.tdb.fi Git - builder.git/blob - source/install.h
Include libmode in library lookup hash
[builder.git] / source / install.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef INSTALL_H_
9 #define INSTALL_H_
10
11 #include "sourcepackage.h"
12 #include "target.h"
13
14 /**
15 Represents the installation of a file.
16 */
17 class Install: public Target
18 {
19 public:
20         Install(Builder &, const SourcePackage &, Target &);
21         const char *get_type() const { return "Install"; }
22         void       check_rebuild();
23 private:
24         virtual Action *create_action();
25
26         static std::string generate_target_name(const Target &);
27 };
28
29 #endif