-/* $Id$
-
-This file is part of builder
-Copyright © 2009 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include <msp/fs/dir.h>
#include <msp/fs/utils.h>
#include "builder.h"
DataCompile::DataCompile(Builder &b, ::DataFile &dfile):
ExternalAction(b)
{
- const Component &comp=dfile.get_component();
+ const Component &comp = dfile.get_component();
- work_dir=comp.get_package().get_source();
+ work_dir = comp.get_package().get_source();
argv.push_back("mspdatatool");
argv.push_back("-c");
argv.push_back("-b");
- FS::Path opath=dfile.get_path();
+ FS::Path opath = dfile.get_path();
argv.push_back("-o");
argv.push_back(relative(opath, work_dir).str());
- FS::Path spath=dfile.get_source().get_path();
+ FS::Path spath = dfile.get_source().get_path();
argv.push_back(relative(spath, work_dir).str());
if(!builder.get_dry_run())