include ../Makefile.config

all: polka.info polka.pdf polka.html

polka.pdf: polka.texi texinfo.tex
	$(TEXI2DVI) $<

polka.info: polka.texi
	$(MAKEINFO) --no-split $<

polka.html: polka.texi
	texi2html -split=section -nonumber -menu -subdir=html $<


clean:
	/bin/rm -f *.log *.aux *.bbl *.blg *.toc *.dvi *.ps *.pstex*
	/bin/rm -f *.cp *.fn *.fns *.ky *.pg *.vr *.vrs *.tp *.tps *.pdf *.html *.info* *.dvi *.ps
	/bin/rm -fr html
