Mercurial > bitten > bitten-test
changeset 294:cb9af0adb365
Allow configuration of the path to the make executable. See #66.
author | cmlenz |
---|---|
date | Thu, 20 Oct 2005 18:39:30 +0000 |
parents | f3469fde8a34 |
children | 5f84af72d17f |
files | bitten/build/ctools.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/build/ctools.py +++ b/bitten/build/ctools.py @@ -43,6 +43,8 @@ def make(ctxt, target=None, file_=None, keep_going=False): """Execute a Makefile target.""" + executable = ctxt.config.get_filepath('make.path') or 'make' + args = ['--directory', ctxt.basedir] if file_: args += ['--file', ctxt.resolve(file_)] @@ -52,7 +54,7 @@ args.append(target) from bitten.build import shtools - returncode = shtools.execute(ctxt, executable='make', args=args) + returncode = shtools.execute(ctxt, executable=executable, args=args) if returncode != 0: ctxt.error('make failed (%s)' % returncode)