DESTDIR= PACKAGE=runit-0.9.4 DIRS=doc man etc package src MANPAGES=runit.8 runit-init.8 runsvdir.8 runsv.8 svwaitdown.8 svwaitup.8 \ utmpset.8 runsvchdir.8 runsvstat.8 runsvctrl.8 svlogd.8 all: clean .manpages $(PACKAGE).tar.gz .manpages: for i in $(MANPAGES); do \ rman -S -f html -r '' < man/$$i | \ sed -e 's}NAME="sect\([0-9]*\)" HREF="#toc[0-9]*">\(.*\)}NAME="sect\1">\2}g ; \ s}Table of Contents}G. Pape
runit
}g ; \ s}}}g' \ > doc/$$i.html ; \ done ; \ echo 'fix up html manually...' echo 'patch -p0