small changes to rules creating html files
[nvi.git] / docs / edit / Makefile
blob502fd75032a2fb066b95dcf04f5c8ebe7d3f720e
1 # $Id: Makefile,v 8.6 2001/01/28 15:50:07 skimo Exp $ (Berkeley) $Date: 2001/01/28 15:50:07 $
3 ROFF= groff
4 TBL= tbl
6 all: edittut.ps ../html/edittut.html
8 ../html/%.html: %.ms
9 ${TBL} $< | ${ROFF} -ms -Thtml | \
10 sed 's/<img src="$<.*png">//' > $@
11 rm -f "$<"*png
12 chmod 444 $@
14 %.ps: %.ms
15 ${TBL} $< | ${ROFF} -ms > $@
16 chmod 444 $@
18 clean:
19 rm -f edittut.ps ../html/edittut.html