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


_______________________________________________
Enigma-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/enigma-devel

Reply via email to