X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarball.h;h=18ff19dcfcd9a8b72cad6f448a42cf7122c53b6b;hb=407b96515a5246384847d1835a2d69704e941ea1;hp=04cd661eb7995a88c9187b2db27e5761cf980a93;hpb=654de39b62a9a58fd8e1b5a557361d628345788b;p=builder.git diff --git a/source/tarball.h b/source/tarball.h index 04cd661..18ff19d 100644 --- a/source/tarball.h +++ b/source/tarball.h @@ -1,27 +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(); - virtual Action *build(); -private: - std::string tarname; - - std::string create_target_name(const SourcePackage &, const std::string &); }; #endif