summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-10 16:30:32 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-05-10 16:30:32 -0500
commitb898d40a81167113b7c235b9458636b29f90fd86 (patch)
tree4100aeae97bc558c257cf31c4b7682e3bf81ebc7 /acprep
parent8c0cb63dfd203a9c89fdad5bf2835c4f6dfa3c01 (diff)
downloadfork-ledger-b898d40a81167113b7c235b9458636b29f90fd86.tar.gz
fork-ledger-b898d40a81167113b7c235b9458636b29f90fd86.tar.bz2
fork-ledger-b898d40a81167113b7c235b9458636b29f90fd86.zip
More configuration fixes
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep6
1 files changed, 5 insertions, 1 deletions
diff --git a/acprep b/acprep
index b4e0b979..ea3583c4 100755
--- a/acprep
+++ b/acprep
@@ -539,6 +539,9 @@ class PrepareBuild(CommandLineApp):
op.add_option('', '--cpp11', action='store_true',
dest='use_cpp11', default=False,
help='Use C++11 extensions (requires Clang or gcc 4.6/7/8)')
+ op.add_option('', '--plain', action='store_true',
+ dest='use_plain', default=False,
+ help="Don't customize for my private environment")
op.add_option('', '--output', metavar='DIR', action="callback",
callback=self.option_output,
help='Build in the specified directory')
@@ -1080,7 +1083,8 @@ class PrepareBuild(CommandLineApp):
if self.options.no_python:
self.configure_args.remove('--enable-python')
- if exists('/Users/johnw/Projects/ledger/plan/TODO'):
+ if not self.options.use_plain and \
+ exists('/Users/johnw/Projects/ledger/plan/TODO'):
self.setup_for_johnw()
self.setup_system_directories()