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