From 40ae5094033c29d900d1f8d90914d46ce93b8d3a Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 15 Jul 2012 14:36:39 +0000 Subject: Attempting to add support for 4 point versions git-svn-id: svn://svn.handbrake.fr/HandBrake/tags/0.9.6.1@4831 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- make/configure.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/make/configure.py b/make/configure.py index ed78d026d..5adb7975e 100644 --- a/make/configure.py +++ b/make/configure.py @@ -765,6 +765,7 @@ class Project( Action ): self.vmajor = 0 self.vminor = 9 self.vpoint = 6 + self.vpatch = 1 def _action( self ): ## add architecture to URL only for Mac @@ -774,7 +775,7 @@ class Project( Action ): url_arch = '' if repo.type == 'release': - self.version = '%d.%d.%d' % (self.vmajor,self.vminor,self.vpoint) + self.version = '%d.%d.%d.%d' % (self.vmajor,self.vminor,self.vpoint, self.vpatch) url_ctype = '' url_ntype = 'stable' self.build = time.strftime('%Y%m%d') + '00' @@ -1444,8 +1445,9 @@ int main () doc.add( 'HB.version.major', project.vmajor ) doc.add( 'HB.version.minor', project.vminor ) doc.add( 'HB.version.point', project.vpoint ) + doc.add( 'HB.version.patch', project.vpatch ) doc.add( 'HB.version', project.version ) - doc.add( 'HB.version.hex', '%04x%02x%02x%08x' % (project.vmajor,project.vminor,project.vpoint,repo.rev) ) + doc.add( 'HB.version.hex', '%04x%02x%02x%02x%08x' % (project.vmajor,project.vminor,project.vpoint,project.vpatch,repo.rev) ) doc.add( 'HB.build', project.build ) -- cgit v1.2.3