]> git.tdb.fi Git - builder.git/blobdiff - source/tarball.h
Rework the Target class hierarchy
[builder.git] / source / tarball.h
index cadd0325f642c01305b794aadd311c94c6f35ade..6b89ffc0269d02b082f02d6bc17fec52bc4dccab 100644 (file)
@@ -1,16 +1,16 @@
 /* $Id$
 
 This file is part of builder
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2007-2009  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
 #ifndef TARBALL_H_
 #define TARBALL_H_
 
-#include "target.h"
+#include "filetarget.h"
 
-class TarBall: public Target
+class TarBall: public FileTarget
 {
 public:
        TarBall(Builder &, const SourcePackage &, const std::string & =std::string());
@@ -18,8 +18,6 @@ public:
        const SourcePackage *get_package() const;
        virtual void find_depends();
 private:
-       std::string tarname;
-
        virtual Action *create_action();
 
        static std::string create_target_name(const SourcePackage &, const std::string &);