Commit e29e7a3f authored by Robert Sprowson's avatar Robert Sprowson
Browse files

New switch 'obeymode' to AwkVers

Strikingly similar to the 'descmode' switch, but inserts version numbers into obey files as comments.

Version 1.56. Tagged as 'Library-1_56'
parent 10662556
......@@ -30,10 +30,17 @@ BEGIN {
}
/^_Version/ {
if(descmode) {
if (descmode) {
# For use in FrontEnd description files
printf(" version \"%s (%s)\";\n", VString[2], VDate[2])
} else {
printf("_Version:%s (%s)\n", VString[2], VDate[2])
if (obeymode) {
# For use in obey files
printf("| Version %s (%s)\n", VString[2], VDate[2])
} else {
# For use in messages files
printf("_Version:%s (%s)\n", VString[2], VDate[2])
}
}
done = 1
next
......
/* (1.55)
/* (1.56)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 1.55
#define Module_MajorVersion_CMHG 1.56
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 10 May 2012
#define Module_Date_CMHG 15 Jul 2012
#define Module_MajorVersion "1.55"
#define Module_Version 155
#define Module_MajorVersion "1.56"
#define Module_Version 156
#define Module_MinorVersion ""
#define Module_Date "10 May 2012"
#define Module_Date "15 Jul 2012"
#define Module_ApplicationDate "10-May-12"
#define Module_ApplicationDate "15-Jul-12"
#define Module_ComponentName "Library"
#define Module_ComponentPath "mixed/RiscOS/Library"
#define Module_FullVersion "1.55"
#define Module_HelpVersion "1.55 (10 May 2012)"
#define Module_LibraryVersionInfo "1:55"
#define Module_FullVersion "1.56"
#define Module_HelpVersion "1.56 (15 Jul 2012)"
#define Module_LibraryVersionInfo "1:56"
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