]> git.tdb.fi Git - builder.git/blobdiff - source/datafile.cpp
Move the Component reference to Target and make it a pointer
[builder.git] / source / datafile.cpp
index 3164d8e38caeec5a532df9d8e402defe3e01fbf5..5566bf4a50b33a68b9f30c4f08abf1f3cb9b49a9 100644 (file)
@@ -8,8 +8,9 @@ DataFile::DataFile(Builder &b, const Component &c, File &s):
        component(c),
        source(s)
 {
-       buildable = true;
        add_depend(&source);
+
+       install_location = "share/"+package->get_name();
 }
 
 Msp::FS::Path DataFile::generate_target_path(const Component &comp)