summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rbutil/rbutilqt/Info.plist2
-rw-r--r--rbutil/rbutilqt/version.h4
-rwxr-xr-xutils/common/deploy-rbutil.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/Info.plist b/rbutil/rbutilqt/Info.plist
index 64f8d7b3d3..08d8af7062 100644
--- a/rbutil/rbutilqt/Info.plist
+++ b/rbutil/rbutilqt/Info.plist
@@ -7,7 +7,7 @@
<key>CFBundleName</key>
<string>Rockbox Utility</string>
<key>CFBundleShortVersionString</key>
- <string>1.2.12</string>
+ <string>1.2.12 ($Rev$)</string>
<key>CFBundleIconFile</key>
<string>rbutilqt.icns</string>
<key>CFBundleIdentifier</key>
diff --git a/rbutil/rbutilqt/version.h b/rbutil/rbutilqt/version.h
index a081c19fa6..768c93fb75 100644
--- a/rbutil/rbutilqt/version.h
+++ b/rbutil/rbutilqt/version.h
@@ -28,7 +28,7 @@
#define BUILDID ""
#define VERSION "1.2.12" BUILDID
// PUREVERSION should identify the build uniquely. Use version string for now.
-#define PUREVERSION VERSION
+#define PUREVERSION "$Rev$"
-#define FULLVERSION VERSION", built "__DATE__" "__TIME__
+#define FULLVERSION VERSION" ("PUREVERSION"), built "__DATE__" "__TIME__
diff --git a/utils/common/deploy-rbutil.py b/utils/common/deploy-rbutil.py
index 3a23862b7c..389438e920 100755
--- a/utils/common/deploy-rbutil.py
+++ b/utils/common/deploy-rbutil.py
@@ -56,9 +56,9 @@ deploy.progexe = {
"linux2" : "RockboxUtility"
}
deploy.regreplace = {
- "rbutil/rbutilqt/version.h" : [["SVN \$.*\$", "SVN r%REVISION%"],
+ "rbutil/rbutilqt/version.h" : [["\$Rev\$", "%REVISION%"],
["(^#define BUILDID).*", "\\1 \"-%BUILDID%\""]],
- "rbutil/rbutilqt/Info.plist" : [["SVN \$.*\$", "SVN r%REVISION%"]],
+ "rbutil/rbutilqt/Info.plist" : [["\$Rev\$", "%REVISION%"]],
}
# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
# compatible with 10.4 requires using gcc-4.0.