summaryrefslogtreecommitdiff
path: root/src/rev.cpp.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-05-16 12:36:33 +0000
committerrubidium <rubidium@openttd.org>2009-05-16 12:36:33 +0000
commita34d5bb6abb825b366e9b5e215266587936f9365 (patch)
tree7602ba93143041429fc457b9cc4877377219f276 /src/rev.cpp.in
parentdb7e24e211ce8c72a0ddd3a7094bf24de4777678 (diff)
downloadopenttd-a34d5bb6abb825b366e9b5e215266587936f9365.tar.xz
(svn r16318) -Change: use !! instead of @@ in src/*.in too.
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
Diffstat (limited to 'src/rev.cpp.in')
-rw-r--r--src/rev.cpp.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rev.cpp.in b/src/rev.cpp.in
index a60dd3444..db79958f0 100644
--- a/src/rev.cpp.in
+++ b/src/rev.cpp.in
@@ -20,7 +20,7 @@
* norev000 is for non-releases that are made on systems without
* subversion or sources that are not a checkout of subversion.
*/
-const char _openttd_revision[] = "@@VERSION@@";
+const char _openttd_revision[] = "!!VERSION!!";
/**
* Let us know if current build was modified. This detection
@@ -30,7 +30,7 @@ const char _openttd_revision[] = "@@VERSION@@";
* (compiling from sources without any version control software)
* and 2 is for modified revision.
*/
-const byte _openttd_revision_modified = @@MODIFIED@@;
+const byte _openttd_revision_modified = !!MODIFIED!!;
/**
* The NewGRF revision of OTTD:
@@ -45,11 +45,11 @@ const byte _openttd_revision_modified = @@MODIFIED@@;
* final release will always have a lower version number than the released
* version, thus making comparisions on specific revisions easy.
*/
-const uint32 _openttd_newgrf_version = 0 << 28 | 8 << 24 | 0 << 20 | 0 << 19 | (@@REVISION@@ & ((1 << 19) - 1));
+const uint32 _openttd_newgrf_version = 0 << 28 | 8 << 24 | 0 << 20 | 0 << 19 | (!!REVISION!! & ((1 << 19) - 1));
#ifdef __MORPHOS__
/**
* Variable used by MorphOS to show the version.
*/
-extern const char morphos_versions_tag[] = "$VER: OpenTTD @@VERSION@@ (@@DATE@@) OpenTTD Team [MorphOS, PowerPC]";
+extern const char morphos_versions_tag[] = "$VER: OpenTTD !!VERSION!! (!!DATE!!) OpenTTD Team [MorphOS, PowerPC]";
#endif