

#This makefile will produce the troff/nroff tutorial in either
#Postscript (make PS) or screen (make screen) format


PS::	tt.mac tt00 tt01 tt02 tt03 tt04 tt05 tt06 ttack ttcharset ttindex
	tbl tt00 | psroff -t -ms $* tt.mac - > output.PS
	tbl tt0[123456789] | psroff -t -ms $* tt.mac - >> output.PS
	tbl tt1[1234] | psroff -t -ms $* tt.mac - >> output.PS
	psroff -t -ms  $* tt.mac ttack >> output.PS
	psroff -t -ms $* tt.mac ttcharset >> output.PS
	psroff -t -ms $* tt.mac ttindex >> output.PS

screen::tt.mac tt00 tt01 tt02 tt03 tt04 tt05 tt06 ttack ttcharset ttindex
	tbl tt00 | nroff  $* tt.mac - > output.text
	tbl tt0[123456789] | nroff  $* tt.mac - >> output.text
	tbl tt1[1234] | nroff  $* tt.mac - >> output.text
	nroff  $* tt.mac ttack >> output.text
	nroff  $* tt.mac ttcharset >> output.text
	nroff  $* tt.mac ttindex >> output.text
	

