]> git.tdb.fi Git - builder.git/blobdiff - source/install.h
Rename Install to InstalledFile
[builder.git] / source / install.h
diff --git a/source/install.h b/source/install.h
deleted file mode 100644 (file)
index 2eb88d4..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef INSTALL_H_
-#define INSTALL_H_
-
-#include "sourcepackage.h"
-#include "filetarget.h"
-
-/**
-Represents the installation of a file.
-*/
-class Install: public FileTarget
-{
-private:
-       FileTarget &source;
-       Msp::FS::Path link;
-
-public:
-       Install(Builder &, const SourcePackage &, FileTarget &, const std::string & =std::string());
-       virtual const char *get_type() const { return "Install"; }
-       FileTarget &get_source() const { return source; }
-       const Msp::FS::Path &get_symlink() const { return link; }
-       virtual Target *get_real_target();
-private:
-       virtual void check_rebuild();
-
-       static Msp::FS::Path generate_target_path(const FileTarget &i, const std::string &);
-};
-
-#endif