]> git.tdb.fi Git - builder.git/blobdiff - source/pkgconfig.cpp
Add Symlink target and associated action
[builder.git] / source / pkgconfig.cpp
index e8fca575200eddf305fa1af8e2b3cef9b844f531..4169f1eaed5267de40e6fe887fe4194a60bd0ca5 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-200 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -10,10 +10,9 @@ Distributed under the LGPL
 #include "pkgconfigaction.h"
 
 PkgConfig::PkgConfig(Builder &b, const SourcePackage &p):
-       Target(b, &p, (p.get_source()/(p.get_name()+".pc")).str()),
-       pkg(p)
+       FileTarget(b, &p, p.get_source()/(p.get_name()+".pc"))
 {
-       buildable=true;
+       buildable = true;
 }
 
 Action *PkgConfig::create_action()