Source

xp.memo / paper / makefile

all: doc

doc: fmt screen print
	
fmt: paper.lhs
	lhs2TeX-hl -o paper.fmt paper.lhs
	
screen:
	lhs2TeX -o paper.screen.tex paper.screen.lhs && pdflatex paper.screen.tex && bibtex paper.screen && pdflatex paper.screen.tex && pdflatex paper.screen.tex
	
print:
	lhs2TeX -o paper.print.tex paper.print.lhs && pdflatex paper.print.tex && bibtex paper.print && pdflatex paper.print.tex && pdflatex paper.print.tex