summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-12 00:50:53 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-12 00:50:53 -0400
commit7e118f4ad0a88f2eaaaced5becb6360530e9be9a (patch)
tree63d2dff7dd097bb402b036ea5b362d0cf8da0de9 /acprep
parent5260d195484c65864437740954abc1182d781002 (diff)
downloadfork-ledger-7e118f4ad0a88f2eaaaced5becb6360530e9be9a.tar.gz
fork-ledger-7e118f4ad0a88f2eaaaced5becb6360530e9be9a.tar.bz2
fork-ledger-7e118f4ad0a88f2eaaaced5becb6360530e9be9a.zip
Added --enable-cache, --enable-doxygen to acprep
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep12
1 files changed, 12 insertions, 0 deletions
diff --git a/acprep b/acprep
index 672e1969..d07d3bef 100755
--- a/acprep
+++ b/acprep
@@ -480,6 +480,12 @@ class PrepareBuild(CommandLineApp):
op.add_option('', '--no-python', action='store_true', dest='no_python',
default=False,
help='Do not enable Python support by default')
+ op.add_option('', '--enable-cache', action='store_true',
+ dest='enable_cache', default=False,
+ help='Enable use of Boost.Serialization (--cache)')
+ op.add_option('', '--enable-doxygen', action='store_true',
+ dest='enable_doxygen', default=False,
+ help='Enable use of Doxygen to build ref manual ("make docs")')
op.add_option('', '--universal', action='store_true',
dest='universal', default=False,
help='Attempt to build universal binaries')
@@ -1015,6 +1021,11 @@ class PrepareBuild(CommandLineApp):
# g++ 4.0.1 cannot use PCH headers on OS X 10.5
self.option_no_pch()
+ if self.options.enable_doxygen:
+ self.configure_args.append('--enable-doxygen')
+ if self.options.enable_cache:
+ self.configure_args.append('--enable-cache')
+
if exists('/Users/johnw/Projects/ledger/plan/TODO'):
self.setup_for_johnw()
self.setup_system_directories()
@@ -1562,6 +1573,7 @@ class PrepareBuild(CommandLineApp):
self.configure_flavor('default', reset=False)
self.log.info('=== Testing default ===')
self.phase_make('fullcheck')
+ self.phase_make('docs')
self.log.info('=== Building final distcheck ===')
self.phase_distcheck()