X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finstall.h;h=b50bb7fe613b8f15e558008b6233a14a18fd7be0;hb=b5ad62c2c4c7eeadd881e3f157bde96e4dd2cc0e;hp=2aa3280a75778494e664c0a8562c43e17dd12098;hpb=b0eb979b0dc79269cb3bb5bb2e67ef4e80689cfe;p=builder.git diff --git a/source/install.h b/source/install.h index 2aa3280..b50bb7f 100644 --- a/source/install.h +++ b/source/install.h @@ -3,14 +3,18 @@ #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(); + void check_rebuild(); + Action *build(); private: + std::string generate_target_name(const Target &); }; #endif