all:V: indices indices:V: for (i in 1 2 4 O){ mkhtmlindex $i > $i/INDEX.html } clean:V: rm -f */INDEX.html man.pdf:V: @{ for (i in 1 2 4 O){ cd $i for (m in `{ls | grep -v html}){ troff -man $m } cd .. } } | lp -dstdout | ps2pdf > man.pdf plumb man.pdf