]> 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 503205a021f0a4223e9bb537078193d130d05444..b50bb7fe613b8f15e558008b6233a14a18fd7be0 100644 (file)
@@ -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();
 private:
+       std::string generate_target_name(const Target &);
 };
 
 #endif