diff options
author | sr55 <[email protected]> | 2012-07-15 14:36:39 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-07-15 14:36:39 +0000 |
commit | 40ae5094033c29d900d1f8d90914d46ce93b8d3a (patch) | |
tree | 317ffe084d9295e3b6413631a152824e1c12b058 /make/configure.py | |
parent | 7ad870557de6f6016a3df477955e70c70aa655fb (diff) |
Attempting to add support for 4 point versions0.9.6.1
git-svn-id: svn://svn.handbrake.fr/HandBrake/tags/0.9.6.1@4831 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/configure.py')
-rw-r--r-- | make/configure.py | 6 |
1 files 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 ) |