002fe45 Try to automate the version numb...

based on: http://github.com/torvalds/subsurface/commit/002fe45dfd4776bb44a9e786625421a67558d60c

compiled with: mingw 3.4.5

notes:
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>