use struct timeval to obtain the cputime. disable display atm until the code is corre...
[AROS.git] / tools / setrev / setrev.readme
blob0e1381c18e1231aa7c64b482e79eac54c325ebca
1 short: BumpRev-like utility
2 type: dev/misc
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
18 revision number.
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:
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)"