X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpkgconfig.cpp;h=9c5b7209beccdc65dc8898004ccbe27b1970775b;hb=2606b03da59dc10e3826b833a2fceb0831d79972;hp=4169f1eaed5267de40e6fe887fe4194a60bd0ca5;hpb=04c316da6d5d90e43cba262f54d90ca231f703bf;p=builder.git diff --git a/source/pkgconfig.cpp b/source/pkgconfig.cpp index 4169f1e..9c5b720 100644 --- a/source/pkgconfig.cpp +++ b/source/pkgconfig.cpp @@ -1,21 +1,11 @@ -/* $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; -} + tool = &builder.get_toolchain().get_tool("PCG"); -Action *PkgConfig::create_action() -{ - return new PkgConfigAction(builder, *this); + install_location = "lib/pkgconfig"; }