summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 17:31:03 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 18:14:27 +0100
commit76b2bef46c9e46bbff7d8dfe2ac5977e98d5f4dd (patch)
treeca16666879d08ad9f0657189b31b6f466417eb8a /src
parent36e5b237b6e0a0a5f0c2904ad8db93bad5de6d0a (diff)
parent46ac21b8c413f73ad723499aa76ecea2f59cb57d (diff)
downloadingen-76b2bef46c9e46bbff7d8dfe2ac5977e98d5f4dd.tar.gz
ingen-76b2bef46c9e46bbff7d8dfe2ac5977e98d5f4dd.tar.bz2
ingen-76b2bef46c9e46bbff7d8dfe2ac5977e98d5f4dd.zip
Update autowaf and adapt to new API
Diffstat (limited to 'src')
-rw-r--r--src/gui/wscript2
-rw-r--r--src/wscript4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index 8e16937d..a23e2084 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -4,7 +4,7 @@ import waflib.Utils as Utils
import waflib.Options as Options
def options(ctx):
- opt = ctx.get_option_group('Configuration options')
+ opt = ctx.configuration_options()
opt.add_option('--light-theme', action='store_true', dest='light_theme',
help='use light coloured theme')
diff --git a/src/wscript b/src/wscript
index 07379b83..464540af 100644
--- a/src/wscript
+++ b/src/wscript
@@ -37,8 +37,8 @@ def build(bld):
export_includes = ['..'],
includes = ['..'],
name = 'libingen',
- target = 'ingen',
- vnum = '0.0.0',
+ target = 'ingen-%s' % bld.env.INGEN_MAJOR_VERSION,
+ vnum = bld.env.INGEN_VERSION,
install_path = '${LIBDIR}',
lib = lib,
cxxflags = bld.env.PTHREAD_CFLAGS + bld.env.INGEN_TEST_CXXFLAGS,