diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-06-11 11:37:52 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-06-11 11:37:52 -0400 |
commit | 2e1e5da78e1a18cc2b26bf57bf69a260eaf1e163 (patch) | |
tree | b4002d665ef957f286ae60bd96137e05e5d85cab /gtk2_ardour | |
parent | ef6366a7cd56157c6468a6c0d87a3e37f6d7c7af (diff) |
more changes to consolidate version definition into the top level wscript file
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/wscript | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript index bba65c8c0a..5a8ecc771c 100644 --- a/gtk2_ardour/wscript +++ b/gtk2_ardour/wscript @@ -8,12 +8,6 @@ import re import time from waflib.Task import Task -# Version of this package (even if built as a child) -MAJOR = '3' -MINOR = '2' - -# Variables for 'waf dist' -VERSION = "%s.%s" % (MAJOR, MINOR) I18N_PACKAGE = 'gtk2_ardour3' # Mandatory variables @@ -266,7 +260,7 @@ def configure(conf): autowaf.build_version_files( path_prefix + 'version.h', path_prefix + 'version.cc', - 'gtk2_ardour', MAJOR, MINOR, 0) + 'gtk2_ardour', conf.env['MAJOR'], conf.env['MINOR'], 0) autowaf.configure(conf) if re.search ("linux", sys.platform) != None: @@ -364,6 +358,8 @@ def build_color_scheme(path, prefix): def build(bld): + VERSION = "%s.%s" % (bld.env['MAJOR'], bld.env['MINOR']) + if bld.is_defined('WINDOWS_VST_SUPPORT'): # If we require VST support we build a stub main() and the FST library # here using winegcc, and link it to the GTK front-end library |