change and simplify the version string a bit

This commit is contained in:
Mitchell Livingston 2007-04-07 18:58:56 +00:00
parent 0ae40e8200
commit 704346726e
2 changed files with 2 additions and 8 deletions

View File

@ -449,7 +449,7 @@ tr_httpClient( int method, const char * host, int port, const char * fmt, ... )
if( tr_sprintf( EXPANDBUF( http->header ), " HTTP/1.1" CR LF
"Host: %s" CR LF
"User-Agent: %s/%d.%d.%d" CR LF
"User-Agent: %s/%d.%d%d" CR LF
"Connection: close" CR LF,
http->host, TR_NAME, VERSION_MAJOR, VERSION_MINOR, VERSION_MAINTENANCE ) )
{

View File

@ -5,11 +5,7 @@
MAJOR=0
MINOR=6
MAINT=1
# 0 for release, 1 otherwise
DEV=1
STRING=0.7.0-svn
STRING=0.70-svn
# Get current SVN revision from Ids in all source files
REV=`( find . '(' -name '*.[chm]' -o -name '*.cpp' -o -name '*.po' \
@ -37,7 +33,6 @@ cat > mk/version.mk.new << EOF
VERSION_MAJOR = $MAJOR
VERSION_MINOR = $MINOR
VERSION_MAINTENANCE = $MAINT
VERSION_DEV = $DEV
VERSION_STRING = $STRING
VERSION_REVISION = $REV
EOF
@ -48,7 +43,6 @@ cat > libtransmission/version.h.new << EOF
#define VERSION_MAJOR $MAJOR
#define VERSION_MINOR $MINOR
#define VERSION_MAINTENANCE $MAINT
#define VERSION_DEV $DEV
#define VERSION_STRING "$STRING"
#define VERSION_REVISION $REV
EOF