1 short: BumpRev-like utility
3 author: jochen.wiedmann@zdv.uni-tuebingen.de
4 uploader: jochen.wiedmann@zdv.uni-tuebingen.de
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.
14 Usage: SetRev PROJECT/A,VERSION/N,FILE/K
16 The given FILE (default: PROJECT_rev.h) will be searched for
17 version and revision definitions and bumped to the next
20 Example: SetRev SetRev FILE SetRev.c
22 will scan the file SetRev.c for the following definitions and
23 bumpt the current revision number:
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)"