mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
Show subversion revision number in version string.
This commit is contained in:
parent
fa3b018e1f
commit
b5fa42ff8f
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
VERSION_MAJOR = 0
|
||||
VERSION_MINOR = 5
|
||||
VERSION_STRING = 0.6-svn
|
||||
VERSION_STRING = 0.6-svn-r$(SVN_REVISION)
|
||||
|
||||
TMPCFLAGS = -g -Wall -W -O3 -funroll-loops -D_FILE_OFFSET_BITS=64 \
|
||||
-D_LARGEFILE_SOURCE -D_GNU_SOURCE \
|
||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -16,6 +16,7 @@ CXX="${CXX-c++}"
|
|||
CXXFLAGS="${CXXFLAGS}"
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
SVNREV="`echo '$Rev$' | sed 's/[^0-9]*//g'`"
|
||||
|
||||
#
|
||||
# Functions
|
||||
|
@ -293,6 +294,7 @@ lrintf_test
|
|||
rm -f Makefile.config
|
||||
cat > Makefile.config << EOF
|
||||
CONFIGURE_RUN = yes
|
||||
SVN_REVISION = $SVNREV
|
||||
SYSTEM = $SYSTEM
|
||||
BEOS_NETSERVER = $BEOS_NETSERVER
|
||||
PTHREAD = $PTHREAD
|
||||
|
|
Loading…
Reference in a new issue