When trying to describe this patch the words 'crazy' and 'wacko' come to mind, but believe it or not, this actually works _and_ it seems to be the only way to make --version use the svn revision correctly.
The current --version output only changes when superiotool.h is updated, which is not very useful, of course. This patch fixes it, in that all changes to *.c or *.h files bump the version number.
Note: You will not be able to easily test this before the commit. You'll get a segfault, as the $Rev$ instances will not be replaced until _after_ the commit. If you want you can manually change '$Rev$' to '$Rev: 2555 $' or so in all files (for testing)...
Uwe.