]> git.tdb.fi Git - builder.git/blobdiff - source/tarball.cpp
Refactor transitive dependencies to work on all targets
[builder.git] / source / tarball.cpp
diff --git a/source/tarball.cpp b/source/tarball.cpp
deleted file mode 100644 (file)
index 521b6ac..0000000
+++ /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<const SourcePackage *>(package);
-}
-
-Action *TarBall::create_action()
-{
-       return new Tar(builder, *this);
-}