]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Add constants to mac_res.r to set the binary version number.
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 14 Jan 2003 19:29:18 +0000 (19:29 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 14 Jan 2003 19:29:18 +0000 (19:29 +0000)
Mention this in CHECKLST as a location where the version number has to be set.

[originally from svn r2598]

CHECKLST.txt
mac/mac_res.r

index 88bdabf029975174278f88eddbdfd632c0543624..ab6ed05936c25a4835646cb4db09f82fc339ef81 100644 (file)
@@ -53,10 +53,15 @@ orders them correctly with respect to releases):
 
  - putty/LATEST.VER
 
-And the Windows installer script:
+The Windows installer script:
 
  - putty/putty.iss
 
+The Mac resource file (used to generate the binary bit of the 'vers'
+resources -- the strings are supplied by the usual means):
+
+ - putty/mac/mac_res.r
+
 The actual release procedure
 ----------------------------
 
index 24f124ca973cca2c5e00594bc35c9d948819f51f..547cd761727b29377ce0c83fb75cd9d613d23ee5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mac_res.r,v 1.12 2003/01/12 01:25:34 ben Exp $ */
+/* $Id: mac_res.r,v 1.13 2003/01/14 19:29:18 ben Exp $ */
 /*
  * Copyright (c) 1999, 2002 Ben Harris
  * All rights reserved.
 /* Get resource IDs we share with C code */
 #include "macresid.h"
 
+/*
+ * Current PuTTY version number.  Minor is in BCD
+ */
+#define VERSION_MAJOR 0x00
+#define VERSION_MINOR 0x53
+
 /*
  * Finder-related resources
  */
@@ -345,7 +351,7 @@ resource 'icl8' (130, purgeable) {
 
 resource 'vers' (1, purgeable) {
     /* XXX This needs to be updated for each new version */
-    0x00, 0x53,
+    VERSION_MAJOR, VERSION_MINOR,
 #ifdef RELEASE
     beta,
 #else
@@ -369,7 +375,7 @@ resource 'vers' (1, purgeable) {
 
 resource 'vers' (2, purgeable) {
     /* XXX This needs to be updated for each new version */
-    0x00, 0x53,
+    VERSION_MAJOR, VERSION_MINOR,
 #ifdef RELEASE
     beta,
 #else