diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-10 16:30:32 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-10 16:30:32 -0500 |
commit | b898d40a81167113b7c235b9458636b29f90fd86 (patch) | |
tree | 4100aeae97bc558c257cf31c4b7682e3bf81ebc7 /acprep | |
parent | 8c0cb63dfd203a9c89fdad5bf2835c4f6dfa3c01 (diff) | |
download | fork-ledger-b898d40a81167113b7c235b9458636b29f90fd86.tar.gz fork-ledger-b898d40a81167113b7c235b9458636b29f90fd86.tar.bz2 fork-ledger-b898d40a81167113b7c235b9458636b29f90fd86.zip |
More configuration fixes
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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() |