source_tarball = &components.back();
}
-void SourcePackage::set_build_type(const BuildType &t)
-{
- build_type = &t;
-}
-
-FS::Path SourcePackage::get_temp_dir() const
+FS::Path SourcePackage::get_temp_directory() const
{
string subdir = builder.get_current_arch().get_name();
if(build_type)
return source_dir/temp/subdir;
}
-FS::Path SourcePackage::get_out_dir() const
+FS::Path SourcePackage::get_output_directory() const
{
const Architecture &arch = builder.get_current_arch();
if(arch.is_native())
}
}
+void SourcePackage::set_build_type(const BuildType &t)
+{
+ build_type = &t;
+}
+
void SourcePackage::do_prepare()
{
BuildInfo final_build_info;
add("headers", &Loader::headers);
add("install", &Loader::component<Component::INSTALL>);
add("interface_version", &Loader::interface_version);
- add("datafile", &Loader::component<Component::DATAFILE>);
+ add("datapack", &Loader::component<Component::DATAPACK>);
add("source_tarball", &Loader::source_tarball);
add("tarball", &Loader::tarball);
add("tar_file", &Loader::tar_file);