X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finstall.h;h=d20a32273ee49b37e311c764364a8936069fcbd2;hb=463a3521e27870294455373f9c69279069611975;hp=764d9a19bc20f8547ed484e281974eb840c32931;hpb=66d1078c04849ec17a7343d0494d6ed087e04318;p=builder.git diff --git a/source/install.h b/source/install.h index 764d9a1..d20a322 100644 --- a/source/install.h +++ b/source/install.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef INSTALL_H_ #define INSTALL_H_ @@ -20,14 +13,15 @@ private: FileTarget &source; public: - Install(Builder &, const SourcePackage &, FileTarget &); + Install(Builder &, const SourcePackage &, FileTarget &, const std::string & =std::string()); virtual const char *get_type() const { return "Install"; } FileTarget &get_source() const { return source; } + virtual Target *get_real_target(); private: virtual void check_rebuild(); virtual Action *create_action(); - static Msp::FS::Path generate_target_path(const FileTarget &); + static Msp::FS::Path generate_target_path(const FileTarget &i, const std::string &); }; #endif