#!/bin/sh -
#	$Id: s_readme,v 1.3 2001/08/19 19:45:46 bostic Exp $
#
# Build the README.

t=/tmp/__t
trap 'rm -f $t; exit 0' 0 1 2 3 13 15

. RELEASE

(echo "$DB_VERSION_STRING" &&
 echo "" &&
 echo -n "This is version " &&
 echo -n "$DB_VERSION_MAJOR.$DB_VERSION_MINOR.$DB_VERSION_PATCH" &&
 echo " of Berkeley DB from Sleepycat Software.  To view" &&
 echo "the release and installation documentation, load the distribution file" &&
 echo "docs/index.html into your web browser.") > $t

f=../README
cmp $t $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $t $f && chmod 444 $f)
