Add a note to FAQ about #version-value-in-source
From: Pedro Zorzenon Neto <pzn_at_terra.com.br>
Date: 2006-02-20 00:04:59 CET
Hi,
About the topic:
I have a better option instead of using makefile to create a
Below are the instructions.
Please CC me the answers, I'm not a subscriber of this list. I'm using
Thanks in advance,
Put the following 2 lines in Makefile:
SVNDEF = -D'SVN_REV="$(shell svnversion -n .)"'
To use it, in yourfile.c do something similar to the example below:
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.