X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarball.cpp;h=fe5a10a722b87980261cdd108d33c7bc0c32520a;hb=30aa066f674421268abc6c79bf828e005ac50031;hp=521b6ac738c6ce76eca6a5fddec30ea58659e829;hpb=04c316da6d5d90e43cba262f54d90ca231f703bf;p=builder.git diff --git a/source/tarball.cpp b/source/tarball.cpp index 521b6ac..fe5a10a 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" @@ -12,17 +5,10 @@ Distributed under the LGPL using namespace std; TarBall::TarBall(Builder &b, const SourcePackage &p, const string &n): - FileTarget(b, &p, p.get_source()/(n+".tar")) -{ - buildable = true; -} + FileTarget(b, p, p.get_source()/(n+".tar")) +{ } const SourcePackage *TarBall::get_package() const { return static_cast(package); } - -Action *TarBall::create_action() -{ - return new Tar(builder, *this); -}