-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Isaac Richards Sent: Thursday, December 01, 2005 9:31 PM To: Development of mythtv Subject: Re: [mythtv] SVN version info
On Thursday 01 December 2005 10:10 pm, Nigel Pearson wrote: > > There is no global revision number accessible from a $tag$. > > True. We may be able to "fake" it using something like this: > > SVN_REV=`egrep 'ver.*mythtv' .svn/dir-wcprops | sed 's/^.*ver\///' | > sed 's/\/.*//'` > > in configure could set a DEFINE for programs/myth*end to use > (assuming that the source was actually checked out). > It would of course only be accurate if the source tree > had no local modifications. Why's grepping better than svn info / svnversion? Isaac I saw this article a while ago, but it does talk about getting the version number from svn. http://www.linuxdevcenter.com/pub/a/linux/2003/04/24/libsvn1.html?page=2
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
