|
From: | Daniel Heck |
Subject: | Re: [Enigma-devel] Re: SVN revision number |
Date: | Thu, 28 Feb 2008 21:51:20 +0100 |
User-agent: | Thunderbird 2.0.0.6 (X11/20071022) |
Ronald Lamprecht wrote:
svnversion is the right tool. But it does not really help, as we have a classical "hen and egg" problem:You need to commit your changes and you need to update to get correct svnversion output. Now you need to start make again to generate the source which results in a modified source which need to be commited,...
> Furtheron this modified piece of source would be a steady source of > merge errors. >Why would you want to commit the file containing the version number anyway? That is clearly the wrong approach, for all the reasons you list. I would simply run svnversion every single time make is invoked and link the resulting version string into the program.
- Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |