#define TEXPROPTS -v 
#define REPORT thesis
#define PRINTER printer=lw
#include <SEP.defs>

#define	ALLTEX	REPORT.tex ../Preface/abs.tex  ../Preface/ack.tex ../Preface/cdrom.tex ../Preface/title.tex ../Preface/readers.tex ../Preface/preface.tex ../bibrefs/mybib.bib ../Intro/paper.tex ../Theory/paper.tex  ../Feas/paper.tex  ../Proc/paper.tex ../Interp/paper.tex ../Conc/paper.tex


default&:	gview
$default&:	view2


view2&:		ALLTEX
		texpr -l TEXPROPTS -bib REPORT


gview&: REPORT.dvi
	texpr -l -ps REPORT.dvi
	ghostview REPORT.ps
$	xtex REPORT.dvi

xview&: REPORT.dvi
	texpr -l -v REPORT.dvi


install-to-read&: REPORT.dvi     /*  /usr/local/bin/REPORT */
	makewritable ../Dvi/SEP91.dvi
	-mv ../Dvi/SEP91.dvi ../Dvi/SEP91.dvi.old
	cp  REPORT.dvi ../Dvi/SEP91.dvi
	chmod a+r ../Dvi/SEP91.dvi
$	-rm REPORT.dvi



REPORT.dvi: REPORT.tex ../Preface/abs.tex  ../Preface/ack.tex ../Preface/cdrom.tex ../Preface/title.tex ../Preface/readers.tex ../Preface/preface.tex ../bibrefs/mybib.bib ../Intro/paper.tex ../Theory/paper.tex  ../Feas/paper.tex  ../Proc/paper.tex ../Interp/paper.tex ../Conc/paper.tex
	makewritable REPORT.tex
	makewritable REPORT.dvi
	-rm *.aux
	-rm ../\*/\*.aux
	texpr -l TEXPROPTS -bib -d REPORT
	chmod a+rw REPORT.dvi

print&:
	texpr PRINTER from=1 to=30 ../Dvi/SEP91.dvi 
	texpr PRINTER from=31 to=60 ../Dvi/SEP91.dvi 
	texpr PRINTER from=61 to=90 ../Dvi/SEP91.dvi 
	texpr PRINTER from=91 to=120 ../Dvi/SEP91.dvi 
	texpr PRINTER from=121       ../Dvi/SEP91.dvi 


work& :
        pushd ../Feas/Work; cake figures; cake clean; popd
        pushd ../Proc/; cake work; cake cleandirs; popd
        pushd ../Proc/Base; cake figures; cake clean; popd
        pushd ../Proc/Mon2; cake figures; cake clean; popd
        pushd ../Proc; cake -f Cakefile.figs figures; cake clean; popd
        pushd ../Interp/Work; cake figures; cake clean; popd



backup& :






clean&: texclean
	-rm ../\*/\*.{aux,log,lof,lot,bbl,blg} REPORT.dvi

#include <SEP.prog.rules>
#include <SEP.obj.rules>
#include <SEP.idoc.rules>
