X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finstall.h;h=672161580c8ee3b2bc67b5ac5d7d8396c3d62f2b;hb=654de39b62a9a58fd8e1b5a557361d628345788b;hp=fd6472fea6fc40d7e4c40d35c09117ffba67002c;hpb=74266a6e650f019063cdcd1c9a7bd26d8f99041b;p=builder.git diff --git a/source/install.h b/source/install.h index fd6472f..6721615 100644 --- a/source/install.h +++ b/source/install.h @@ -1,6 +1,14 @@ +/* $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 "sourcepackage.h" #include "target.h" /** @@ -9,11 +17,12 @@ Represents the installation of a file. class Install: public Target { public: - Install(Builder &, const Package &, Target &, const std::string &); + Install(Builder &, const SourcePackage &, Target &); const char *get_type() const { return "Install"; } void check_rebuild(); Action *build(); private: + std::string generate_target_name(const Target &); }; #endif