On Sat, 6 Oct 2007, Ulf Jordan wrote:
On Sat, 6 Oct 2007, Robinson Tryon wrote:
What about pulling the version directly out of SVN at build time? Like this:
svn info | sed -n 's/.*Revision: ([0-9]*)/\1/ p'
As long as the Makefile lives at the top level of the project, this value should always reflect the latest commit in the current checkout.
That looks like a good solution.
Attached is the much shorter patch using Robinson's suggestion to get the svn revision number as the superiotool version number.
/ulf