summaryrefslogtreecommitdiff
path: root/utils/common/deploy-rbutil.py
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-04-06 20:17:29 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-04-06 20:17:29 +0000
commit2c297760df2d512841d6ad1cb38d09b574530cef (patch)
tree2a46e11ca294ce06b3c695489ceccfee4b0bd0a1 /utils/common/deploy-rbutil.py
parent3184cbe10add23e0e4e53523a06e311db0ba15cd (diff)
downloadrockbox-2c297760df2d512841d6ad1cb38d09b574530cef.tar.gz
rockbox-2c297760df2d512841d6ad1cb38d09b574530cef.zip
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
Diffstat (limited to 'utils/common/deploy-rbutil.py')
-rwxr-xr-xutils/common/deploy-rbutil.py4
1 files changed, 3 insertions, 1 deletions
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 = {
52 "darwin" : "RockboxUtility.app", 52 "darwin" : "RockboxUtility.app",
53 "linux2" : "RockboxUtility" 53 "linux2" : "RockboxUtility"
54} 54}
55deploy.regreplace = {
56 "rbutil/rbutilqt/version.h" : ["SVN \$.*\$", "SVN $Revision: %REVISION% $"]
57}
55# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are 58# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
56# compatible with 10.4 requires using gcc-4.0. 59# compatible with 10.4 requires using gcc-4.0.
57deploy.qmakespec = { 60deploy.qmakespec = {
@@ -72,4 +75,3 @@ deploy.programfiles = [ ]
72deploy.nsisscript = "" 75deploy.nsisscript = ""
73 76
74deploy.deploy() 77deploy.deploy()
75