home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 2 / LSD and 17bit Compendium Deluxe - Volume II.iso / a / prog / misc / setrev.lha / SetRev.readme < prev    next >
Encoding:
Text File  |  1994-10-30  |  950 b   |  31 lines

  1. short: BumpRev-like utility
  2. type: dev/misc
  3. author: wiedmann@uni-tuebingen.de
  4. uploader: wiedmann@uni-tuebingen.de
  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.