X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fpkgconfig.cpp;h=eb4fad0c3ac9c24e412e2a89e561d9b18b341ebe;hb=dcaf06c2bba4e02a312cd6af24ddc96410e7be4e;hp=4169f1eaed5267de40e6fe887fe4194a60bd0ca5;hpb=04c316da6d5d90e43cba262f54d90ca231f703bf;p=builder.git diff --git a/source/pkgconfig.cpp b/source/pkgconfig.cpp index 4169f1e..eb4fad0 100644 --- a/source/pkgconfig.cpp +++ b/source/pkgconfig.cpp @@ -1,21 +1,10 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - +#include "builder.h" #include "package.h" #include "pkgconfig.h" -#include "pkgconfigaction.h" PkgConfig::PkgConfig(Builder &b, const SourcePackage &p): FileTarget(b, &p, p.get_source()/(p.get_name()+".pc")) { buildable = true; -} - -Action *PkgConfig::create_action() -{ - return new PkgConfigAction(builder, *this); + tool = &builder.get_toolchain().get_tool("PCG"); }