Changeset 176 for trunk/tools


Ignore:
Timestamp:
Mar 12, 2016, 12:25:36 AM (9 years ago)
Author:
David Azarewicz
Message:

Documentation and makefile changes for Arca Noae packaging.
No code changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/AddToFile.cmd

    r154 r176  
    44 *  AddToFile.cmd FileName,PrefixString,Function[,Parameters...]
    55 *
     6 * Examples:
    67 *  AddToFile.cmd FileName,#define DDATE,DATEL
    78 *    Adds today's date to Filename: #define DDATE 20130312L
     
    6061  end
    6162
    62   when (What="VERSION") then do
    63     Version = '12.345';
    64     say 'Setting '||String||' to '||Version;
    65     rc=lineout(OutFile, String||'='||Version);
     63  when (What="VERSIONMAJOR") then do
     64    parse var ProjVendor Major'.'Minor'.'Revision;
     65    rc=lineout(OutFile, String||' '||FORMAT(Major));
     66    rc=lineout(OutFile);
     67  end
     68
     69  when (What="VERSIONMINOR") then do
     70    parse var ProjVendor Major'.'Minor'.'Revision;
     71    rc=lineout(OutFile, String||' '||FORMAT(Minor));
     72    rc=lineout(OutFile);
     73  end
     74
     75  when (What="VERSIONREVISION") then do
     76    parse var ProjVendor Major'.'Minor'.'Revision;
     77    rc=lineout(OutFile, String||' '||FORMAT(Revision));
    6678    rc=lineout(OutFile);
    6779  end
Note: See TracChangeset for help on using the changeset viewer.