[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Proposal for $Revision$ keyword amendment

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2005-09-29 16:07:00 CEST

On Thu, 2005-09-29 at 18:25, Molle Bestefich wrote:
> Ph. Marek wrote:
> > Molle Bestefich wrote:
> [snip]
> > I'd suggest using in your Makefile
> > SOURCEREV := $(shell svnversion .)
> > CFLAGS .= -DSOURCEREV=$(SOURCEREV)
> > and in some .c file
> > printf("Version is ", #SOURCEREV );
> > (maybe #SOURCEREV#, I'm not sure).
> >
> > Or for more complicated cases even
> > SOURCEREV := $(shell svn st -v . | gzip | uuencode)
> > and rest as above.
>
> Thanks for the suggestion!
>
> However, we don't use Makefiles.
> We use VS.Net's build system, in which it is not practical to do
> something like the above.
So, what isnt svnversion available in windows?!

Regards,
MAdan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 29 17:04:54 2005

This is an archived mail posted to the Subversion Dev mailing list.