Add constants to mac_res.r to set the binary version number.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 14 Jan 2003 19:29:18 +0000 (19:29 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2598 cda61777-01e9-0310-a592-d414129be87e

CHECKLST.txt
mac/mac_res.r

index 88bdabf..ab6ed05 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 24f124c..547cd76 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.
 #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