aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-10-13 15:00:28 +0000
committerMax Horn2010-10-13 15:00:28 +0000
commit043f2db0c747c68a9188eba1c58ccc993c0bfa52 (patch)
tree362e322ae3bd1696d186254e441bb93c650c4895
parenta3d3e94a8d37240353502e60a0cfa19c44c4fd38 (diff)
downloadscummvm-rg350-043f2db0c747c68a9188eba1c58ccc993c0bfa52.tar.gz
scummvm-rg350-043f2db0c747c68a9188eba1c58ccc993c0bfa52.tar.bz2
scummvm-rg350-043f2db0c747c68a9188eba1c58ccc993c0bfa52.zip
BASE: Add SVN_REVISION placehold to internal_version.h.in
Our tools/update-version.pl script always keeps this empty. But it will make integration of the create_project patch smoother. svn-id: r53427
-rw-r--r--base/internal_version.h2
-rw-r--r--base/internal_version.h.in2
-rwxr-xr-xtools/update-version.pl3
3 files changed, 4 insertions, 3 deletions
diff --git a/base/internal_version.h b/base/internal_version.h
index 5a049b0bb8..2b00ce60d2 100644
--- a/base/internal_version.h
+++ b/base/internal_version.h
@@ -3,7 +3,7 @@
#endif
#ifndef SCUMMVM_SVN_REVISION
-#define SCUMMVM_SVN_REVISION
+#define SCUMMVM_SVN_REVISION ""
#endif
#ifdef RELEASE_BUILD
diff --git a/base/internal_version.h.in b/base/internal_version.h.in
index adf5f94d21..dacaf72d40 100644
--- a/base/internal_version.h.in
+++ b/base/internal_version.h.in
@@ -3,7 +3,7 @@
#endif
#ifndef SCUMMVM_SVN_REVISION
-#define SCUMMVM_SVN_REVISION
+#define SCUMMVM_SVN_REVISION "@SVN_REVISION@"
#endif
#ifdef RELEASE_BUILD
diff --git a/tools/update-version.pl b/tools/update-version.pl
index 81aa5c27f9..f8a46b9a7e 100755
--- a/tools/update-version.pl
+++ b/tools/update-version.pl
@@ -49,7 +49,8 @@ my %subs = (
VER_MINOR => $VER_MINOR,
VER_PATCH => $VER_PATCH,
VER_EXTRA => $VER_EXTRA,
- VERSION => $VERSION
+ VERSION => $VERSION,
+ SVN_REVISION=> "",
);
foreach my $file (@subs_files) {