diff options
author | David Robillard <d@drobilla.net> | 2012-08-08 19:33:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-08 19:33:16 +0000 |
commit | 88696aa953ab26021248b1e1a31abe0098b91fa0 (patch) | |
tree | 96420b4b65687b01625c216dac245b4a42aed4d5 /wscript | |
parent | ea80afee0e42449d4c3bc496f1330442014d7359 (diff) | |
download | sord-88696aa953ab26021248b1e1a31abe0098b91fa0.tar.gz sord-88696aa953ab26021248b1e1a31abe0098b91fa0.tar.bz2 sord-88696aa953ab26021248b1e1a31abe0098b91fa0.zip |
Consistency.
git-svn-id: http://svn.drobilla.net/sord/trunk@241 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -30,17 +30,17 @@ def options(opt): opt.load('compiler_cxx') autowaf.set_options(opt) opt.add_option('--no-utils', action='store_true', dest='no_utils', - help="Do not build command line utilities") + help='Do not build command line utilities') opt.add_option('--test', action='store_true', dest='build_tests', - help="Build unit tests") + help='Build unit tests') opt.add_option('--static', action='store_true', dest='static', - help="Build static library") + help='Build static library') opt.add_option('--no-shared', action='store_true', dest='no_shared', - help="Do not build shared library") + help='Do not build shared library') opt.add_option('--static-progs', action='store_true', dest='static_progs', - help="Build programs as static binaries") + help='Build programs as static binaries') opt.add_option('--dump', type='string', default='', dest='dump', - help="Dump debugging output (iter, search, write, all)") + help='Dump debugging output (iter, search, write, all)') def configure(conf): conf.load('compiler_c') @@ -85,7 +85,7 @@ def configure(conf): def fallback(var, val): conf.env[var] = val - Logs.warn("Warning: %s unset, using %s\n" % (var, val)) + Logs.warn('Warning: %s unset, using %s\n' % (var, val)) conf.env.INCLUDES_SORD = ['${includedir}/sord-%s' % SORD_MAJOR_VERSION] if not conf.env.INCLUDES_SERD: @@ -99,9 +99,9 @@ def configure(conf): if not conf.env.LIB_SERD: fallback('LIB_SERD', 'serd-0') - autowaf.display_msg(conf, "Utilities", bool(conf.env.BUILD_UTILS)) - autowaf.display_msg(conf, "Unit tests", bool(conf.env.BUILD_TESTS)) - autowaf.display_msg(conf, "Debug dumping", dump) + autowaf.display_msg(conf, 'Utilities', bool(conf.env.BUILD_UTILS)) + autowaf.display_msg(conf, 'Unit tests', bool(conf.env.BUILD_TESTS)) + autowaf.display_msg(conf, 'Debug dumping', dump) print('') def build(bld): @@ -243,7 +243,7 @@ def fix_docs(ctx): autowaf.make_simple_dox(APPNAME) def upload_docs(ctx): - os.system("rsync -ravz --delete -e ssh build/doc/html/ drobilla@drobilla.net:~/drobilla.net/docs/sord/") + os.system('rsync -ravz --delete -e ssh build/doc/html/ drobilla@drobilla.net:~/drobilla.net/docs/sord/') def test(ctx): blddir = autowaf.build_dir(APPNAME, 'tests') |