X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finstall.h;h=bdabc6e7c3853afd87d5425ba42f10bf14db25a4;hb=7aeaa4ba965f596edad438c02e345a8843f7469a;hp=503205a021f0a4223e9bb537078193d130d05444;hpb=1a46151c99a406123c4ddfc797a7841baf3e4cc2;p=builder.git diff --git a/source/install.h b/source/install.h index 503205a..bdabc6e 100644 --- a/source/install.h +++ b/source/install.h @@ -1,16 +1,27 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef INSTALL_H_ #define INSTALL_H_ #include "target.h" +/** +Represents the installation of a file. +*/ class Install: public Target { public: - Install(Builder &, const Package &, Target &, const std::string &); + Install(Builder &, const Package &, Target &); const char *get_type() const { return "Install"; } void check_rebuild(); Action *build(); private: + std::string generate_target_name(const Target &); }; #endif