]> git.sur5r.net Git - openldap/blob - build/version.sh
Sync with HEAD (fix global schemadn)
[openldap] / build / version.sh
1 #! /bin/sh
2 # $OpenLDAP$
3 ## Copyright 2000-2002 The OpenLDAP Foundation
4 ## COPYING RESTRICTIONS APPLY.  See COPYRIGHT File in top level directory
5 ## of this package for details.
6 #
7 ol_package=OpenLDAP
8 ol_major=2
9 ol_minor=1
10 ol_patch=X
11 ol_api_inc=20103
12 ol_api_lib=2:103:0
13
14 if test $ol_patch != X ; then
15         ol_version=${ol_major}.${ol_minor}.${ol_patch}
16         ol_type=Release
17 elif test $ol_minor != X ; then
18         ol_version=${ol_major}.${ol_minor}.${ol_patch}
19         ol_type=Engineering
20 else
21         ol_version=${ol_major}.${ol_minor}
22         ol_type=Devel
23         ol_api_lib=0:0:0
24 fi
25
26 ol_string="${ol_package} ${ol_version}-${ol_type}"
27
28 echo OL_PACKAGE=\"${ol_package}\"
29 echo OL_MAJOR=$ol_major
30 echo OL_MINOR=$ol_minor
31 echo OL_PATCH=$ol_patch
32 echo OL_API_INC=$ol_api_inc
33 echo OL_API_LIB=$ol_api_lib
34 echo OL_VERSION=$ol_version
35 echo OL_TYPE=$ol_type
36 echo OL_STRING=\"${ol_string}\"