Matthias Böcker has just released RevFlex, a utility for developers allowing to automatically update version, revision and build numbers. It was inspired by FlexRev (hence the name) by Daniel Kahlin. It is designed to be very flexible and should be possible to configure it to be used with almost any programming language.
The AmigaE source code to RevFlex is included and may serve as an example of bad coding style
It comes with versions for MorphOS, AmigaOS/68K and AmigaOS4.