-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef INSTALL_H_
#define INSTALL_H_
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