+/* $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"
/**
class Install: public Target
{
public:
- Install(Builder &, const Package &, Target &);
+ 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 &);
+ virtual Action *create_action();
+
+ static std::string generate_target_name(const Target &);
};
#endif