# $Id: Makefile.dist,v 1.9 2002/05/25 19:57:43 leg Exp $
dist:
	mkdir -p man
	for man in ../man/*.[1-9]; \
	do \
		echo "=== $$man ==="; \
		groff -man -Thtml $$man > man/`basename $$man`.html; \
	done

	pod2html ../perl/imap/cyradm.sh > man/cyradm.1.html
	pod2man ../perl/sieve/scripts/sieveshell.pl > ../man/sieveshell.1
	pod2html ../perl/sieve/scripts/sieveshell.pl > man/sieveshell.1.html

	rm -f groff-html-*.png pod2htm*

	fig2dev -L png murder.fig murder.png

	(cd text; make)
