X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdatafile.cpp;h=5566bf4a50b33a68b9f30c4f08abf1f3cb9b49a9;hb=632361796a7ddadf8a726526c937fab22281fb7b;hp=12acfe6db9de2018b51fb0384ca650ea4747c031;hpb=04c316da6d5d90e43cba262f54d90ca231f703bf;p=builder.git diff --git a/source/datafile.cpp b/source/datafile.cpp index 12acfe6..5566bf4 100644 --- a/source/datafile.cpp +++ b/source/datafile.cpp @@ -1,12 +1,4 @@ -/* $Id$ - -This file is part of builder -Copyright © 2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include "component.h" -#include "datacompile.h" #include "datafile.h" #include "file.h" #include "sourcepackage.h" @@ -16,13 +8,9 @@ DataFile::DataFile(Builder &b, const Component &c, File &s): component(c), source(s) { - buildable = true; add_depend(&source); -} -Action *DataFile::create_action() -{ - return new DataCompile(builder, *this); + install_location = "share/"+package->get_name(); } Msp::FS::Path DataFile::generate_target_path(const Component &comp)