X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarball.cpp;h=825c0ba79e237ea44c5010c262ac71d4f5ae78ba;hb=4facd021514ab372c23b1b132d6b4b62baa4efbf;hp=521b6ac738c6ce76eca6a5fddec30ea58659e829;hpb=04c316da6d5d90e43cba262f54d90ca231f703bf;p=builder.git diff --git a/source/tarball.cpp b/source/tarball.cpp index 521b6ac..825c0ba 100644 --- a/source/tarball.cpp +++ b/source/tarball.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2007-2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include "sourcepackage.h" #include "tar.h" #include "tarball.h" @@ -13,16 +6,9 @@ using namespace std; TarBall::TarBall(Builder &b, const SourcePackage &p, const string &n): FileTarget(b, &p, p.get_source()/(n+".tar")) -{ - buildable = true; -} +{ } const SourcePackage *TarBall::get_package() const { return static_cast(package); } - -Action *TarBall::create_action() -{ - return new Tar(builder, *this); -}