######################################################################### 
#									# 
#   File: scorpion/doc/idlcusersman/Makefile 
#				 					# 
#   Copyright (C) 1991 Richard Snodgrass
#									# 
#   The Scorpion System is free software in the public domain; you can  # 
#   redistribute it and/or modify it as you wish. We ask that you 	# 
#   retain credits referencing the University of Arizona and that you	# 
#   identify any changes you make.					# 
#									# 
#   Report problems to scorpion-project@cs.arizona.edu			# 
#   Direct all inquiries to:	The Scorpion Project			# 
#				Department of Computer Science		# 
#				Gould-Simpson Building			# 
#				University of Arizona			# 
#				Tucson, AZ 85721			# 
#				U.S.A.					# 
#									# 
#   Revision Log:							# 
#	$Log:$ 
#									# 
#   Edit Log:								# 
#     Mar 9 1991 (rts) Created.					# 
#									# 
######################################################################### 

PIC=/usr/local/pic
PSROFF=/usr/local/psroff
SED=/usr/bin/sed
SOELIM=/usr/ucb/soelim
TBL=/usr/bin/tbl
TEX=/usr/local/tex
RM=rm -f
PRINT=/usr/ucb/lpr -Plw0
PRINTDVI=/usr/ucb/lpr -Plw0 -d

System: cover.dvi document.ps

Print:
	$(PRINTDVI) cover.dvi
	$(PRINT) document.ps

cover.dvi: cover.tex
	$(TEX) cover.tex

document.ps: document.me
	$(TBL) document.me | \
	$(SOELIM) | \
	$(PIC) | \
	$(SED) 	-e 's/\\fL/\\fC/g' \
		-e 's/\\f(LB/\\f(CB/g' \
		-e 's/ft L/ft C/g' | \
	$(PSROFF) -me -t  > document.ps 

Clean:
	$(RM) *.aux *.dvi *.log *.ps *~ *.tmp *.out *.toc

