Skip to content

Commit

Permalink
Attempting to add support for 4 point versions
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.handbrake.fr/HandBrake/tags/0.9.6.1@4831 b64f7644-9d1e-0410-96f1-a4d463321fa5
  • Loading branch information
sr55 committed Jul 15, 2012
1 parent 7ad8705 commit 40ae509
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions make/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ def __init__( self ):
self.vmajor = 0
self.vminor = 9
self.vpoint = 6
self.vpatch = 1

def _action( self ):
## add architecture to URL only for Mac
Expand All @@ -774,7 +775,7 @@ def _action( self ):
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'
Expand Down Expand Up @@ -1444,8 +1445,9 @@ class Tools:
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 )

Expand Down

0 comments on commit 40ae509

Please sign in to comment.