EPS = ilailah.eps

pdf: invbi.pdf Makefile

ps: invbi.ps dvi Makefile

dvi: invbi.dvi Makefile

all: ps pdf png Makefile

png: invbi.ps Makefile
	pstoimg -antialias -aaliastext -multipage -type PNG invbi.ps
clean: Makefile
	rm -f *~ *.eps *.ps *.dvi *.pdf *.log *.png *.aux *.bak *.tmp
$(EPS): %.eps: %.fig
	fig2dev -L eps $< $@
invbi.pdf: invbi.ps Makefile
	ps2pdf invbi.ps invbi.pdf
invbi.ps: invbi.dvi $(EPS) Makefile
	dvips invbi.dvi -P pdf -z -o invbi.ps
invbi.dvi: invbi.tex $(EPS) Makefile
	latex invbi && latex invbi && latex invbi
