]> git.tdb.fi Git - builder.git/blobdiff - source/datafile.cpp
Make tools capable of reporting a system-wide path used to locate input files
[builder.git] / source / datafile.cpp
index afde084d4b1504698de48d537c2c342a1292103f..5566bf4a50b33a68b9f30c4f08abf1f3cb9b49a9 100644 (file)
@@ -1,5 +1,4 @@
 #include "component.h"
-#include "datacompile.h"
 #include "datafile.h"
 #include "file.h"
 #include "sourcepackage.h"
@@ -9,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)