mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +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_MAJOR = 0
|
||||||
VERSION_MINOR = 5
|
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 \
|
TMPCFLAGS = -g -Wall -W -O3 -funroll-loops -D_FILE_OFFSET_BITS=64 \
|
||||||
-D_LARGEFILE_SOURCE -D_GNU_SOURCE \
|
-D_LARGEFILE_SOURCE -D_GNU_SOURCE \
|
||||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -16,6 +16,7 @@ CXX="${CXX-c++}"
|
||||||
CXXFLAGS="${CXXFLAGS}"
|
CXXFLAGS="${CXXFLAGS}"
|
||||||
LDFLAGS="${LDFLAGS}"
|
LDFLAGS="${LDFLAGS}"
|
||||||
|
|
||||||
|
SVNREV="`echo '$Rev$' | sed 's/[^0-9]*//g'`"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Functions
|
# Functions
|
||||||
|
@ -293,6 +294,7 @@ lrintf_test
|
||||||
rm -f Makefile.config
|
rm -f Makefile.config
|
||||||
cat > Makefile.config << EOF
|
cat > Makefile.config << EOF
|
||||||
CONFIGURE_RUN = yes
|
CONFIGURE_RUN = yes
|
||||||
|
SVN_REVISION = $SVNREV
|
||||||
SYSTEM = $SYSTEM
|
SYSTEM = $SYSTEM
|
||||||
BEOS_NETSERVER = $BEOS_NETSERVER
|
BEOS_NETSERVER = $BEOS_NETSERVER
|
||||||
PTHREAD = $PTHREAD
|
PTHREAD = $PTHREAD
|
||||||
|
|
Loading…
Reference in a new issue