]> git.tdb.fi Git - builder.git/blobdiff - source/install.h
Move the logic for creating targets into the Component class
[builder.git] / source / install.h
index b81ac9ba4f482be92cca29c399d130476a5a1424..b50bb7fe613b8f15e558008b6233a14a18fd7be0 100644 (file)
@@ -3,15 +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 find_depends() { }
-       void check_rebuild();
-       Action *build();
+       void       check_rebuild();
+       Action     *build();
 private:
+       std::string generate_target_name(const Target &);
 };
 
 #endif