openldap/contrib/ldapc++/version.sh
Ralf Haferkamp 1d82d1d86a Define library version/release in version.var to avoid regenerating
Makefile.in with every release. (works similar to OpenLDAP's main
version.sh/version.var)
2008-06-23 14:09:38 +00:00

11 lines
343 B
Bash
Executable File

#! /bin/sh
# $OpenLDAP$
#
# Copyright 2008, OpenLDAP Foundation, All Rights Reserved.
# COPYING RESTRICTIONS APPLY, see COPYRIGHT file
DIR=`dirname $0`
. $DIR/version.var
echo OL_CPP_API_VERSION=$ol_cpp_api_current:$ol_cpp_api_revision:$ol_cpp_api_age
echo OL_CPP_API_RELEASE=$ol_cpp_api_rel_major.$ol_cpp_api_rel_minor.$ol_cpp_api_rel_patch