X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.h;h=dedd0f57a0e3aa41607d67b0f6d16c10c6fa799a;hb=HEAD;hp=c0a433996a9c0a14625ebf918c9c6092eac6d9e0;hpb=d1eb133ab529cdae131be7b150209f03189248f3;p=builder.git diff --git a/source/copy.h b/source/copy.h deleted file mode 100644 index c0a4339..0000000 --- a/source/copy.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef COPY_H_ -#define COPY_H_ - -#include "tool.h" - -class InstalledFile; - -/** -Copies a file to another place. Used by the InstalledFile target. -*/ -class Copy: public Tool -{ -public: - Copy(Builder &b): Tool(b, "CP") { } - - Target *create_target(const std::vector &, const std::string &) override; - Task *run(const Target &) const override; - -private: - static bool _run(const InstalledFile &); -}; - -#endif