DESTDIR=
PACKAGE=runit-2.1.1
DIRS=doc man etc package src
MANPAGES=runit.8 runit-init.8 runsvdir.8 runsv.8 sv.8 utmpset.8 \
runsvchdir.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