aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {