diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-21 19:12:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-21 19:12:54 +0000 |
commit | 315c1d5a4704ecbc3b24fce1c30d04fc2d252c07 (patch) | |
tree | cea7605f3f47e03864ee7b8036c290ae99e6253e /wscript | |
parent | 272b79094308a551a08a64795de449ab1ade728d (diff) |
more automated build stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@9178 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -390,6 +390,8 @@ def set_options(opt): help='directory where Boost header files can be found') opt.add_option('--wine-include', type='string', action='store', dest='wine_include', default='/usr/include/wine/windows', help='directory where Wine\'s Windows header files can be found') + opt.add_option('--noconfirm', action='store_true', default=False, dest='noconfirm', + help='Do not ask questions that require confirmation during the build') for i in children: opt.sub_options(i) @@ -398,13 +400,14 @@ def sub_config_and_use(conf, name, has_objects = True): autowaf.set_local_lib(conf, name, has_objects) def configure(conf): - print ('\n\nThis is an alpha version of Ardour 3.0.\n\n' + - 'You are respectfully requested NOT to ask for assistance with build issues\n' + - 'and not to report issues with Ardour 3.0 on the forums at ardour.org.\n\n' + - 'Please use IRC, the bug tracker and/or the ardour mailing lists (-dev or -user)\n\n' + - 'Thanks for your co-operation with our development process.\n\n' + - 'Press Enter to continue.\n') - sys.stdin.readline() + if not Options.options.noconfirm: + print ('\n\nThis is an alpha version of Ardour 3.0.\n\n' + + 'You are respectfully requested NOT to ask for assistance with build issues\n' + + 'and not to report issues with Ardour 3.0 on the forums at ardour.org.\n\n' + + 'Please use IRC, the bug tracker and/or the ardour mailing lists (-dev or -user)\n\n' + + 'Thanks for your co-operation with our development process.\n\n' + + 'Press Enter to continue.\n') + sys.stdin.readline() create_stored_revision() conf.env['VERSION'] = VERSION conf.line_just = 52 |