X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarball.h;h=ce8fc1bf13795fe82033a4f59cdff3dda6ffec58;hb=463a3521e27870294455373f9c69279069611975;hp=cadd0325f642c01305b794aadd311c94c6f35ade;hpb=be8a901dfc026f61db46d5d64a41cecc619bc97d;p=builder.git diff --git a/source/tarball.h b/source/tarball.h index cadd032..ce8fc1b 100644 --- a/source/tarball.h +++ b/source/tarball.h @@ -1,28 +1,16 @@ -/* $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