BUILD: Revert r53427.
create_project will now use a different approach than recreating base/internal_version.h. This is also because recreating this file might result in accidental commits of the modified file and thus "screw up" the version string on different systems. svn-id: r54383
This commit is contained in:
parent
a24d5ba2f4
commit
0f26184f8d
3 changed files with 7 additions and 10 deletions
|
@ -2,12 +2,11 @@
|
|||
#error This file may only be included by base/version.cpp
|
||||
#endif
|
||||
|
||||
#ifndef SCUMMVM_SVN_REVISION
|
||||
#define SCUMMVM_SVN_REVISION ""
|
||||
#endif
|
||||
|
||||
#ifdef RELEASE_BUILD
|
||||
#undef SCUMMVM_SVN_REVISION
|
||||
#endif
|
||||
|
||||
#ifndef SCUMMVM_SVN_REVISION
|
||||
#define SCUMMVM_SVN_REVISION
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2,12 +2,11 @@
|
|||
#error This file may only be included by base/version.cpp
|
||||
#endif
|
||||
|
||||
#ifndef SCUMMVM_SVN_REVISION
|
||||
#define SCUMMVM_SVN_REVISION "@SVN_REVISION@"
|
||||
#endif
|
||||
|
||||
#ifdef RELEASE_BUILD
|
||||
#undef SCUMMVM_SVN_REVISION
|
||||
#endif
|
||||
|
||||
#ifndef SCUMMVM_SVN_REVISION
|
||||
#define SCUMMVM_SVN_REVISION
|
||||
#endif
|
||||
|
||||
|
|
|
@ -49,8 +49,7 @@ my %subs = (
|
|||
VER_MINOR => $VER_MINOR,
|
||||
VER_PATCH => $VER_PATCH,
|
||||
VER_EXTRA => $VER_EXTRA,
|
||||
VERSION => $VERSION,
|
||||
SVN_REVISION=> "",
|
||||
VERSION => $VERSION
|
||||
);
|
||||
|
||||
foreach my $file (@subs_files) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue