
#
#
#         Builds the user documents
#
#         Copyright Graeme Ritchie, Alan Black,
#                Steve Pulman and Graham Russell  1987
#
#         ---------------------------------------------
#         |    Not to be used for military purposes   |
#         ---------------------------------------------

all:    user.tout system.tout

user.tout:	user.man table.t
	qtroff -t -ms user.man >user.tout

system.tout:	system.man
	qtroff -t -ms system.man >system.tout

user.nout:	user.man table.n
	tbl table.n >/tmp/table.out
	nroff -ms user.man >user.nout

print:		user.man table.t
	qtroff -ms user.man
	qtroff -ms system.man
#
#   This is to help print the document out double sided
#
odds:		user.man table.t
	qtroff -ms -o3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35 user.man
	qtroff -ms -o37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67 user.man
evens:          user.man table.t
	qtroff -ms -o4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36 user.man
	qtroff -ms -o38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68 user.man
rest:		user.man table.t
	qtroff -ms -o0-2 user.man

#
#   For the system document
#
sevens:	system.man
	qtroff -ms -o2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34 system.man
sodds:	system.man
	qtroff -ms -o3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33 system.man
srest:	system.man
	qtroff -ms -o0-2 system.man
