mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
adjust the way version and revision info are gathered, defined and used
This commit is contained in:
parent
61e302c6bb
commit
ef6366a7cd
2 changed files with 8 additions and 8 deletions
|
|
@ -10,13 +10,10 @@ from waflib.Task import Task
|
|||
|
||||
# Version of this package (even if built as a child)
|
||||
MAJOR = '3'
|
||||
MINOR = '0'
|
||||
MICRO = '0'
|
||||
GTK2_ARDOUR_VERSION = "%s.%s.%s" % (MAJOR, MINOR, MICRO)
|
||||
MINOR = '2'
|
||||
|
||||
# Variables for 'waf dist'
|
||||
APPNAME = 'gtk2_ardour3'
|
||||
VERSION = GTK2_ARDOUR_VERSION
|
||||
VERSION = "%s.%s" % (MAJOR, MINOR)
|
||||
I18N_PACKAGE = 'gtk2_ardour3'
|
||||
|
||||
# Mandatory variables
|
||||
|
|
@ -265,10 +262,11 @@ def options(opt):
|
|||
def configure(conf):
|
||||
conf.load('misc')
|
||||
conf.load('compiler_cxx')
|
||||
# we don't use hard-coded micro versions with ardour, so hard code it to zero
|
||||
autowaf.build_version_files(
|
||||
path_prefix + 'version.h',
|
||||
path_prefix + 'version.cc',
|
||||
'gtk2_ardour', MAJOR, MINOR, MICRO)
|
||||
'gtk2_ardour', MAJOR, MINOR, 0)
|
||||
autowaf.configure(conf)
|
||||
|
||||
if re.search ("linux", sys.platform) != None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue