use addnwstr
[nvi.git] / docs / exref / Makefile
blob22b83d918d90c1c9c2d709a1e98eee9aff9d196d
1 # $Id: Makefile,v 8.10 2001/01/28 15:50:07 skimo Exp $ (Berkeley) $Date: 2001/01/28 15:50:07 $
3 ROFF= groff
4 TBL= tbl
6 ALL= exref.ps summary.ps ../html/exref.html ../html/ex-summary.html
8 all: $(ALL)
10 ../html/exref.html: ex.rm
11 ${TBL} $< | ${ROFF} -ms -Thtml | \
12 sed 's/<img src="$<.*png">//' > $@
13 rm -f "$<"*png
14 chmod 444 $@
16 ../html/ex-summary.html: ex.summary
17 ${TBL} $< | ${ROFF} -ms -Thtml | \
18 sed 's/<img src="$<.*png">//' > $@
19 rm -f "$<"*png
20 chmod 444 $@
22 exref.ps: ex.rm
23 ${TBL} $< | ${ROFF} -ms > $@
24 chmod 444 $@
26 summary.ps: ex.summary
27 ${TBL} $< | ${ROFF} -ms > $@
28 chmod 444 $@
30 clean:
31 rm -f $(ALL)