X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/cf152e6d1f0eff1ccf46f5c72110f3c30b9b52f3..de2eadb094ac7359227015ae46771b54c6adf61f:/windows/version.rc2 diff --git a/windows/version.rc2 b/windows/version.rc2 index 049dbe53..026ebacc 100644 --- a/windows/version.rc2 +++ b/windows/version.rc2 @@ -39,7 +39,7 @@ /* We keep this around even for snapshots, for monotonicity of version * numbering. It needs to be kept up to date. NB _comma_-separated. */ -#define BASE_VERSION 0,59 +#define BASE_VERSION 0,62 #if defined SNAPSHOT @@ -50,17 +50,30 @@ #endif #define VERSION_TEXT "Development snapshot " STR(SNAPSHOT) ":r" STR(SVN_REV) +#ifdef MODIFIED +#define BINARY_VERSION 0,0,0,0 +#else #define BINARY_VERSION BASE_VERSION,SVN_REV,0 +#endif #elif defined RELEASE #define VERSION_TEXT "Release " STR(RELEASE) #define BINARY_VERSION BASE_VERSION,0,0 +#elif defined PRERELEASE + +#define VERSION_TEXT "Pre-release " STR(PRERELEASE) ":r" STR(SVN_REV); +#define BINARY_VERSION BASE_VERSION,SVN_REV,0 + #elif defined SVN_REV #define VERSION_TEXT "Custom build r" STR(SVN_REV) +#ifdef MODIFIED +#define BINARY_VERSION 0,0,0,0 +#else #define BINARY_VERSION BASE_VERSION,SVN_REV,0 +#endif #else @@ -107,7 +120,7 @@ BEGIN VALUE "OriginalFilename", APPNAME VALUE "FileVersion", VERSION_TEXT VALUE "ProductVersion", VERSION_TEXT - VALUE "LegalCopyright", "Copyright \251 1997-2007 Simon Tatham." + VALUE "LegalCopyright", "Copyright \251 1997-2013 Simon Tatham." #if (!defined SNAPSHOT) && (!defined RELEASE) /* Only if VS_FF_PRIVATEBUILD. */ VALUE "PrivateBuild", VERSION_TEXT /* NBI */