Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 269 Bytes
# A Makefile to create html docs from the man pages.
PRODUCT=sigsh
MANPAGES=./${PRODUCT}.1
all: html
html: ${MANPAGES}
.for m in ${MANPAGES}
nroff -man ${m} | rman -f html > ${m:S/.\///}.html
.endfor
clean:
.for m in ${MANPAGES}
@rm -f ${m:S/.\///}.html
.endfor