]> git.tdb.fi Git - builder.git/blob - source/install.h
Add Id tag to all files
[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 "target.h"
12
13 /**
14 Represents the installation of a file.
15 */
16 class Install: public Target
17 {
18 public:
19         Install(Builder &, const Package &, Target &);
20         const char *get_type() const { return "Install"; }
21         void       check_rebuild();
22         Action     *build();
23 private:
24         std::string generate_target_name(const Target &);
25 };
26
27 #endif