Home | History | Annotate | Line # | Download | only in exref
      1 # Id: Makefile,v 8.10 2001/01/28 15:50:07 skimo Exp  (Berkeley) Date: 2001/01/28 15:50:07 
      2 
      3 ROFF=	groff
      4 TBL=	tbl
      5 
      6 ALL= exref.ps summary.ps ../html/exref.html ../html/ex-summary.html
      7 
      8 all: $(ALL)
      9 
     10 ../html/exref.html: ex.rm
     11 	test -d ../html || mkdir ../html
     12 	${TBL} $< | ${ROFF} -ms -Thtml | \
     13 	    sed 's/<img src="$<.*png">//' > $@
     14 	rm -f "$<"*png
     15 	chmod 444 $@
     16 
     17 ../html/ex-summary.html: ex.summary
     18 	test -d ../html || mkdir ../html
     19 	${TBL} $< | ${ROFF} -ms -Thtml | \
     20 	    sed 's/<img src="$<.*png">//' > $@
     21 	rm -f "$<"*png
     22 	chmod 444 $@
     23 
     24 exref.ps: ex.rm
     25 	${TBL} $< | ${ROFF} -ms > $@
     26 	chmod 444 $@
     27 
     28 summary.ps: ex.summary
     29 	${TBL} $< | ${ROFF} -ms > $@
     30 	chmod 444 $@
     31 
     32 clean:
     33 	rm -f $(ALL)
     34