summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-05-05 06:37:30 -0700
committerCraig Earls <enderw88@gmail.com>2014-05-05 06:37:30 -0700
commit8c787122584e47485dfcdcba0a21a951fb82051d (patch)
treefb3dee86044b5bde83690e5310904f5a61bb86df /acprep
parent07b206bf6abe582ff155a4094fd81d002469ba5d (diff)
parentdcb285ac556aa54aa01c60b3c1c9fa40199d8f06 (diff)
downloadfork-ledger-8c787122584e47485dfcdcba0a21a951fb82051d.tar.gz
fork-ledger-8c787122584e47485dfcdcba0a21a951fb82051d.tar.bz2
fork-ledger-8c787122584e47485dfcdcba0a21a951fb82051d.zip
Merge pull request #283 from afh/pull/builddocs
Improve building and installing ledger documentation files
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep5
1 files changed, 4 insertions, 1 deletions
diff --git a/acprep b/acprep
index 754a2427..f9fb74d7 100755
--- a/acprep
+++ b/acprep
@@ -875,6 +875,9 @@ class PrepareBuild(CommandLineApp):
if self.options.boost_include:
conf_args.append('-DBOOST_INCLUDEDIR=%s' %
self.options.boost_include)
+ if self.options.build_dir:
+ conf_args.append('-DBUILD_DIR=%s' %
+ self.options.build_dir)
if self.prefix_directory():
conf_args.append('-DCMAKE_INSTALL_PREFIX=%s' % self.prefix_directory())
@@ -942,7 +945,7 @@ class PrepareBuild(CommandLineApp):
make_args.append('-j%d' % self.options.jobs)
if self.options.verbose:
- make_args.append('VERBOSE=1')
+ make_args.append('-v' if self.options.use_ninja else 'VERBOSE=1')
self.log.debug('Configure arguments => ' + str(config_args))
self.log.debug('Makefile arguments => ' + str(make_args))