package_docs:
	for x in ../../packages/*/doc; do \
	    if test -f $$x/Makefile; then \
		(cd $$x; make doc)\
	    fi \
	done

packages.html: package_docs packages.tex
	latex2html -split 1 -no_subdir packages.tex


clean:
	rm -f *.html *.bak .ID_MAP .IMG_PARAMS .ORIG_MAP
