summaryrefslogtreecommitdiff
path: root/dist/s_readme
blob: 316e60773e0168ebcec1ee6abd11e3ab779c2189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#! /bin/sh

t=__wt.$$
trap 'rm -f $t' 0 1 2 3 13 15
f=../README

. ../RELEASE_INFO

force=no
while :
	do case "$1" in
	-f)	# Force versions to be updated
		force=yes
		shift;;
	*)
		break;;
	esac
done

# If the version hasn't changed and we aren't forcing the issue, we're done.
# Don't generate a new README file just because the date changed unless forced:
# that happens all the time.
if test "$force" = no ; then
	cnt=`(sed -e q < $f; echo "$WIREDTIGER_VERSION_STRING") |
	    sed -e 's/:.*//' | sort -u | wc -l`
	test $cnt -eq 1 && exit 0
fi

cat << END_TEXT > $t
$WIREDTIGER_VERSION_STRING

This is version $WIREDTIGER_VERSION of WiredTiger.

WiredTiger release packages and documentation can be found at:

	http://source.wiredtiger.com/

The documentation for this specific release can be found at:

	http://source.wiredtiger.com/$WIREDTIGER_VERSION/index.html

The WiredTiger source code can be found at:

	http://github.com/wiredtiger/wiredtiger

WiredTiger uses JIRA for issue management:

	http://jira.mongodb.org/browse/WT

Please do not report issues through GitHub.

WiredTiger licensing information can be found at:

	http://source.wiredtiger.com/license.html

For general questions and discussion, there's a WiredTiger group:

	http://groups.google.com/group/wiredtiger-users
END_TEXT

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

exit 0