# All our source files
SRCFILES = $(wildcard *.tex) references.bib

# LaTeX2HTML Options
L2HOPT = -local_icons -html_version 4.0,math,frame

all: ps html

ps: manual.ps 

manual.ps: $(SRCFILES)
	latex manual.tex 
	bibtex manual
	latex manual.tex
	dvips -o manual.ps manual.dvi

html: $(SRCFILES) 
	latex2html ${L2HOPT} manual.tex

clean:
	rm -rf *.aux *.log *.dvi *.ps manual/ \
	typescript *.out *.dat *.xpl *.idx *.bbl *.blg *.toc
