]> git.tdb.fi Git - builder.git/blobdiff - source/tarball.h
Move the bpk files into a subdirectory and install them
[builder.git] / source / tarball.h
index cadd0325f642c01305b794aadd311c94c6f35ade..18ff19dcfcd9a8b72cad6f448a42cf7122c53b6b 100644 (file)
@@ -1,28 +1,15 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2007 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());
+       TarBall(Builder &, const SourcePackage &, const std::string &);
+
        virtual const char *get_type() const { return "TarBall"; }
        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 &);
 };
 
 #endif