Skip to content
Newer
Older
100755 59 lines (52 sloc) 2.31 KB
2efebcb xine-lib-1.2@11678
root authored Aug 25, 2011
1 #!/bin/sh
2
3 # Making releases:
4 # 1. For normal releases
5 # Increment XINE_VERSION_SUB
6 # Clear XINE_VERSION_PATCH
7 # For patch releases
8 # Increment XINE_VERSION_PATCH (use ".1", ".2" etc.)
9 # 2. Remove .cvsversion before running make dist
10 # 3. Adjust the values of XINE_LT_CURRENT, XINE_LT_REVISION, and XINE_LT_AGE
11 # according to the following rules:
12 #
13 # 1. Increment XINE_LT_REVISION.
14 # 2. If any interfaces have been added, removed, or changed, set
15 # XINE_LT_REVISION to 0 and increment XINE_LT_CURRENT.
16 # 3. If any interfaces have been added, increment XINE_LT_AGE.
17 # 4. If any interfaces have been removed or incompatibly changed,
18 # set XINE_LT_AGE to 0, and rename po/libxine*.pot accordingly
19 # (use "hg rename").
20 #
21 # The most important thing to keep in mind is that the libtool version
22 # numbers DO NOT MATCH the xine-lib version numbers, and you should NEVER
23 # try to make them match.
24 #
25 # See the libtool documentation for more information.
26 #
27 # XINE_LT_CURRENT the current API version
28 # XINE_LT_REVISION the current revision of the current API
29 # XINE_LT_AGE the number of previous API versions still supported
30
31 XINE_VERSION_MAJOR=1
3df9c67 xine-lib-1.2@11961
root authored Jan 1, 2012
32 XINE_VERSION_MINOR=2
00204a9 xine-lib-1.2@12181
root authored Jun 12, 2012
33 XINE_VERSION_SUB=2
2efebcb xine-lib-1.2@11678
root authored Aug 25, 2011
34 XINE_VERSION_PATCH=
35 # Release series number (usually $XINE_MAJOR.$XINE_MINOR)
36 XINE_VERSION_SERIES=1.2
37
00204a9 xine-lib-1.2@12181
root authored Jun 12, 2012
38 XINE_LT_CURRENT=4
2efebcb xine-lib-1.2@11678
root authored Aug 25, 2011
39 XINE_LT_REVISION=0
00204a9 xine-lib-1.2@12181
root authored Jun 12, 2012
40 XINE_LT_AGE=2
2efebcb xine-lib-1.2@11678
root authored Aug 25, 2011
41
42 test -f "`dirname $0`/.cvsversion" && XINE_VERSION_SUFFIX="hg"
43 XINE_VERSION_SPEC="${XINE_VERSION_MAJOR}.${XINE_VERSION_MINOR}.${XINE_VERSION_SUB}${XINE_VERSION_PATCH}${XINE_VERSION_SUFFIX}"
44
45 ####
46 #### You should not need to touch anything beyond this point
47 ####
48
49 echo "m4_define([XINE_VERSION_MAJOR], [${XINE_VERSION_MAJOR}])dnl"
50 echo "m4_define([XINE_VERSION_MINOR], [${XINE_VERSION_MINOR}])dnl"
51 echo "m4_define([XINE_VERSION_SUB], [${XINE_VERSION_SUB}])dnl"
52 echo "m4_define([XINE_VERSION_PATCH], [${XINE_VERSION_PATCH}])dnl"
53 echo "m4_define([XINE_VERSION_SUFFIX], [${XINE_VERSION_SUFFIX}])dnl"
54 echo "m4_define([XINE_VERSION_SPEC], [${XINE_VERSION_SPEC}])dnl"
55 echo "m4_define([XINE_VERSION_SERIES], [${XINE_VERSION_SERIES}])dnl"
56 echo "m4_define([__XINE_LT_CURRENT], [${XINE_LT_CURRENT}])dnl"
57 echo "m4_define([__XINE_LT_REVISION], [${XINE_LT_REVISION}])dnl"
58 echo "m4_define([__XINE_LT_AGE], [${XINE_LT_AGE}])dnl"
Something went wrong with that request. Please try again.