From 2c297760df2d512841d6ad1cb38d09b574530cef Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Wed, 6 Apr 2011 20:17:29 +0000 Subject: deploy.py: insert version number into sources. After downloading the sources insert the number of the revision checked out into the code. Results in the Rockbox Utility about dialog showing the actual revision instead of the one of the last change to version.h. Only applied when building from trunk for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29684 a1c6a512-1295-4272-9138-f99709370657 --- utils/common/deploy-rbutil.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils/common/deploy-rbutil.py') diff --git a/utils/common/deploy-rbutil.py b/utils/common/deploy-rbutil.py index dea9f328ee..a94dfdae20 100755 --- a/utils/common/deploy-rbutil.py +++ b/utils/common/deploy-rbutil.py @@ -52,6 +52,9 @@ deploy.progexe = { "darwin" : "RockboxUtility.app", "linux2" : "RockboxUtility" } +deploy.regreplace = { + "rbutil/rbutilqt/version.h" : ["SVN \$.*\$", "SVN $Revision: %REVISION% $"] +} # OS X 10.6 defaults to gcc 4.2. Building universal binaries that are # compatible with 10.4 requires using gcc-4.0. deploy.qmakespec = { @@ -72,4 +75,3 @@ deploy.programfiles = [ ] deploy.nsisscript = "" deploy.deploy() - -- cgit