Commit c38d5ddc authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Update AwkVers to cope with Frontend 'Desc' files

Detail:
  Build/AwkVers - By passing 'descmode=1' on the command line, AwkVers will swap _Version with a 'version ...' entry suitable for use in Frontend 'Desc' files
Admin:
  Tested briefly


Version 1.52. Tagged as 'Library-1_52'
parent 47468d16
......@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Change _Version token in Messages file
# Change _Version token in Messages or Desc file
# to something like 9.87 (01-Jan-1987) from the VersionNum file
BEGIN {
......@@ -29,7 +29,15 @@ BEGIN {
}
}
/^_Version/ { printf("_Version:%s (%s)\n", VString[2], VDate[2]); done = 1; next; }
/^_Version/ {
if(descmode) {
printf(" version \"%s (%s)\";\n", VString[2], VDate[2])
} else {
printf("_Version:%s (%s)\n", VString[2], VDate[2])
}
done = 1
next
}
{ print }
......
/* (1.51)
/* (1.52)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 1.51
#define Module_MajorVersion_CMHG 1.52
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 11 Feb 2012
#define Module_Date_CMHG 22 Feb 2012
#define Module_MajorVersion "1.51"
#define Module_Version 151
#define Module_MajorVersion "1.52"
#define Module_Version 152
#define Module_MinorVersion ""
#define Module_Date "11 Feb 2012"
#define Module_Date "22 Feb 2012"
#define Module_ApplicationDate "11-Feb-12"
#define Module_ApplicationDate "22-Feb-12"
#define Module_ComponentName "Library"
#define Module_ComponentPath "mixed/RiscOS/Library"
#define Module_FullVersion "1.51"
#define Module_HelpVersion "1.51 (11 Feb 2012)"
#define Module_LibraryVersionInfo "1:51"
#define Module_FullVersion "1.52"
#define Module_HelpVersion "1.52 (22 Feb 2012)"
#define Module_LibraryVersionInfo "1:52"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment