minix/dist/nvi/docs/exref/Makefile

34 lines
688 B
Makefile
Raw Normal View History

# Id: Makefile,v 8.10 2001/01/28 15:50:07 skimo Exp (Berkeley) Date: 2001/01/28 15:50:07
ROFF= groff
TBL= tbl
ALL= exref.ps summary.ps ../html/exref.html ../html/ex-summary.html
all: $(ALL)
../html/exref.html: ex.rm
test -d ../html || mkdir ../html
${TBL} $< | ${ROFF} -ms -Thtml | \
sed 's/<img src="$<.*png">//' > $@
rm -f "$<"*png
chmod 444 $@
../html/ex-summary.html: ex.summary
test -d ../html || mkdir ../html
${TBL} $< | ${ROFF} -ms -Thtml | \
sed 's/<img src="$<.*png">//' > $@
rm -f "$<"*png
chmod 444 $@
exref.ps: ex.rm
${TBL} $< | ${ROFF} -ms > $@
chmod 444 $@
summary.ps: ex.summary
${TBL} $< | ${ROFF} -ms > $@
chmod 444 $@
clean:
rm -f $(ALL)