home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / misc / SetRev.readme < prev    next >
Encoding:
Text File  |  1995-04-27  |  1.4 KB  |  41 lines

  1. Short:    BumpRev-like utility
  2. Author:   jochen.wiedmann@zdv.uni-tuebingen.de
  3. Uploader: jochen.wiedmann@zdv.uni-tuebingen.de
  4. Type:     dev/misc
  5.  
  6. This is a small little hack very similar to Commodore's BumpRev
  7. or Dice's UpRev. The difference is that SetRev does not need a
  8. special _rev.h file, instead it may scan a given source file
  9. for the current version and revision and modify it. In short:
  10. BumpRev for those who don't like too much different files.
  11.  
  12.  
  13.  
  14. Usage: SetRev PROJECT/A,VERSION/N,FILE/K
  15.  
  16. The given FILE (default: PROJECT_rev.h) will be searched for
  17. version and revision definitions and bumped to the next
  18. revision number.
  19.  
  20. Example: SetRev SetRev FILE SetRev.c
  21.  
  22. will scan the file SetRev.c for the following definitions and
  23. bumpt the current revision number:
  24.     #define VERSION       1
  25.     #define REVISION       1
  26.     #define DATE    "30.10.94"
  27.     #define VERS    "SetRev 1.1"
  28.     #define VSTRING "SetRev 1.1 (30.10.94)"
  29.     #define VERSTAG "\0$VER: SetRev 1.1 (30.10.94)"
  30.  
  31.  
  32. ============================= Archive contents =============================
  33.  
  34. Original  Packed Ratio    Date     Time    Name
  35. -------- ------- ----- --------- --------  -------------
  36.    15664    9234 41.0% 17-Mar-95 22:15:10  SetRev
  37.     8395    2408 71.3% 17-Mar-95 22:14:36  SetRev.c
  38.      972     495 49.0% 17-Mar-95 22:17:46  SetRev.readme
  39. -------- ------- ----- --------- --------
  40.    25031   12137 51.5% 21-Mar-95 14:29:02   3 files
  41.