X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarball.cpp;h=7596a3d25f1f1ed92dd64a735ca317d9e27dd6cb;hb=HEAD;hp=2ed9e6b5d5a6a1cb920f976f1675c9d2b14dedb2;hpb=2edc25f87590bd81808792c3c38cab5ae8b94eb3;p=builder.git diff --git a/source/tarball.cpp b/source/tarball.cpp deleted file mode 100644 index 2ed9e6b..0000000 --- a/source/tarball.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/* $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" - -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); -}