# Run.notes
#
# Compile the release notes for the COHERENT system
#
TROFF="troff -p -Z6 -rNS1 -rNI1 -rRN1"
OUTPUT=/tmp/doc/x
V=/v/doc/coherent

# do the title page and table of contents
$TROFF $V/fonts.r title.r >$OUTPUT/title.p
$TROFF $V/fonts.r $V/top.r copyright.r 2> notes.x >$OUTPUT/copyright.p

# introduction to the manual
$TROFF -mcohtext $V/fonts.r $V/top.r \
	intro.r \
	2>>notes.x > $OUTPUT/intro.p
tail -1 notes.x > pgn.r

# installation guide
$TROFF -mcohtext $V/fonts.r $V/top.r \
	install.r \
	2>>notes.x > $OUTPUT/install.p
tail -1 notes.x > pgn.r

# third-party stuff and wrap-up
$TROFF -mcohtext $V/fonts.r $V/top.r \
	thirdparty.r \
	2>>notes.x > $OUTPUT/thirdparty.p

# order form
$TROFF $V/fonts.r order.r \
	2>>notes.x > $OUTPUT/order.p
