]> git.tdb.fi Git - builder.git/blobdiff - source/installedfile.h
Don't append library version to the end of the filename on Windows
[builder.git] / source / installedfile.h
index ef76ae7f60e8ca79b204c7e10122a4c46ec09bb5..1ce5f1e3851475f65b4eea3ab3fa212a5043f5bc 100644 (file)
@@ -15,6 +15,10 @@ private:
 
 public:
        InstalledFile(Builder &, const SourcePackage &, FileTarget &, const std::string & =std::string());
+private:
+       static Msp::FS::Path generate_target_path(const Msp::FS::Path &, const FileTarget &i, const std::string &);
+
+public:
        virtual const char *get_type() const { return "InstalledFile"; }
        FileTarget &get_source() const { return source; }
        const Msp::FS::Path &get_symlink() const { return link; }
@@ -22,7 +26,8 @@ public:
 private:
        virtual void check_rebuild();
 
-       static Msp::FS::Path generate_target_path(const Msp::FS::Path &, const FileTarget &i, const std::string &);
+public:
+       virtual void clean();
 };
 
 #endif