minix/dist/nvi/docs/vitut/Makefile
Lionel Sambuc 3e1db26a5a Termcap update, replacing elvis by nvi.
Removing elvis, importing nvi, ctags, updating libedit.

Change-Id: I881eb04d2dc64cf112facd992de1114e1a59107f
2013-01-24 07:44:38 +01:00

43 lines
1 KiB
Makefile

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