#

PS = \
	cppguide.ps 

include ../Makefile.texrules

all: $(PS) html
	# Copy output to VIPSHOME/doc
	cp $(PS) ../../ps

cppguide.dvi: verror.tex fileformat.tex intro.tex mydefs.tex \
	vdisplay.tex vimage.tex vimagemember.tex vmask.tex

.PHONEY: html 
html: cppguide.dvi
	latex2html -show_section_numbers -white -no_footnode -numbered_footnotes cppguide
	-rm -rf ../../html/cppguide 
	cp -r cppguide ../../html

.PHONEY: clean 
clean:
	-rm -f $(PS) $(DVI) $(AUX) $(LOG) $(LOF) $(LOT) $(TOC)
	-rm -rf cppguide
