more changes to consolidate version definition into the top level wscript file

This commit is contained in:
Paul Davis
2013-06-11 11:37:52 -04:00
parent ef6366a7cd
commit 2e1e5da78e
3 changed files with 11 additions and 13 deletions

View File

@@ -7,9 +7,11 @@ import string
import subprocess
import sys
VERSION = '3.1'
MAJOR = '3'
MINOR = '1'
VERSION = MAJOR + '.' + MINOR
APPNAME = 'Ardour3'
APPNAME = 'Ardour' + MAJOR
# Mandatory variables
top = '.'
@@ -461,6 +463,8 @@ def configure(conf):
conf.load('compiler_c')
conf.load('compiler_cxx')
conf.env['VERSION'] = VERSION
conf.env['MAJOR'] = MAJOR
conf.env['MINOR'] = MINOR
conf.line_just = 52
autowaf.set_recursive()
autowaf.configure(conf)