summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-06-11 10:58:24 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-06-11 10:58:24 -0400
commitef6366a7cd56157c6468a6c0d87a3e37f6d7c7af (patch)
treeabae5a9ea4bae4c9f4100c8b21a1faa432ce9e55 /gtk2_ardour
parent61e302c6bb9b5a92a2fe6b4f953022e95e794f72 (diff)
adjust the way version and revision info are gathered, defined and used
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/wscript10
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript
index c25338a343..bba65c8c0a 100644
--- a/gtk2_ardour/wscript
+++ b/gtk2_ardour/wscript
@@ -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: