home *** CD-ROM | disk | FTP | other *** search
- Short: BumpRev-like utility
- Author: jochen.wiedmann@zdv.uni-tuebingen.de
- Uploader: jochen.wiedmann@zdv.uni-tuebingen.de
- Type: dev/misc
-
- This is a small little hack very similar to Commodore's BumpRev
- or Dice's UpRev. The difference is that SetRev does not need a
- special _rev.h file, instead it may scan a given source file
- for the current version and revision and modify it. In short:
- BumpRev for those who don't like too much different files.
-
-
-
- Usage: SetRev PROJECT/A,VERSION/N,FILE/K
-
- The given FILE (default: PROJECT_rev.h) will be searched for
- version and revision definitions and bumped to the next
- revision number.
-
- Example: SetRev SetRev FILE SetRev.c
-
- will scan the file SetRev.c for the following definitions and
- bumpt the current revision number:
- #define VERSION 1
- #define REVISION 1
- #define DATE "30.10.94"
- #define VERS "SetRev 1.1"
- #define VSTRING "SetRev 1.1 (30.10.94)"
- #define VERSTAG "\0$VER: SetRev 1.1 (30.10.94)"
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 15664 9234 41.0% 17-Mar-95 22:15:10 SetRev
- 8395 2408 71.3% 17-Mar-95 22:14:36 SetRev.c
- 972 495 49.0% 17-Mar-95 22:17:46 SetRev.readme
- -------- ------- ----- --------- --------
- 25031 12137 51.5% 21-Mar-95 14:29:02 3 files
-