DESTDIR=
PACKAGE=runit-1.3.1
DIRS=doc man etc package src
MANPAGES=runit.8 runit-init.8 runsvdir.8 runsv.8 sv.8 svwaitdown.8 svwaitup.8 \
utmpset.8 runsvchdir.8 runsvstat.8 runsvctrl.8 svlogd.8 chpst.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