]> git.tdb.fi Git - builder.git/blobdiff - source/datafile.cpp
Make BuildInfo able to handle chained dependencies
[builder.git] / source / datafile.cpp
index 66e610c6f9c1369c824ef0240a8884cb9002b7f3..3164d8e38caeec5a532df9d8e402defe3e01fbf5 100644 (file)
@@ -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,15 +8,10 @@ DataFile::DataFile(Builder &b, const Component &c, File &s):
        component(c),
        source(s)
 {
-       buildable=true;
+       buildable = true;
        add_depend(&source);
 }
 
-Action *DataFile::create_action()
-{
-       return new DataCompile(builder, *this);
-}
-
 Msp::FS::Path DataFile::generate_target_path(const Component &comp)
 {
        return comp.get_package().get_out_dir()/(comp.get_name()+".dat");