mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Add shared lib versioning
This commit is contained in:
parent
af4fdca0bb
commit
32929a23d2
1 changed files with 5 additions and 2 deletions
|
|
@ -8,7 +8,8 @@ ol_package=OpenLDAP
|
|||
ol_major=2
|
||||
ol_minor=X
|
||||
ol_patch=X
|
||||
ol_api=200000
|
||||
ol_api_inc=200000
|
||||
ol_api_lib=0:0:0
|
||||
|
||||
if test $ol_patch != X ; then
|
||||
ol_version=${ol_major}.${ol_minor}.${ol_patch}
|
||||
|
|
@ -19,6 +20,7 @@ elif test $ol_minor != X ; then
|
|||
else
|
||||
ol_version=${ol_major}.${ol_minor}
|
||||
ol_type=Devel
|
||||
ol_api_lib=0:0:0
|
||||
fi
|
||||
|
||||
ol_string="${ol_package} ${ol_version}-${ol_type}"
|
||||
|
|
@ -27,7 +29,8 @@ echo OL_PACKAGE=\"${ol_package}\"
|
|||
echo OL_MAJOR=$ol_major
|
||||
echo OL_MINOR=$ol_minor
|
||||
echo OL_PATCH=$ol_patch
|
||||
echo OL_API=$ol_api
|
||||
echo OL_API_INC=$ol_api_inc
|
||||
echo OL_API_LIB=$ol_api_lib
|
||||
echo OL_VERSION=$ol_version
|
||||
echo OL_TYPE=$ol_type
|
||||
echo OL_STRING=\"${ol_string}\"
|
||||
|
|
|
|||
Loading…
Reference in a new issue