minix/dist/nvi/docs/vi.man/Makefile

24 lines
460 B
Makefile
Raw Normal View History

# Id: Makefile,v 8.9 2001/01/28 15:50:07 skimo Exp (Berkeley) Date: 2001/01/28 15:50:07
ROFF= groff
all: vi.0 vi.0.ps ../html/vi.0.html
vi.0: vi.1
${ROFF} -man -Tascii < vi.1 > $@
chmod 444 $@
vi.0.ps: vi.1
${ROFF} -man < vi.1 > $@
chmod 444 $@
../html/vi.0.html: vi.1
test -d ../html || mkdir ../html
${ROFF} -man -Thtml < vi.1 | \
sed 's/<img src="$<.*png">//' > $@
rm -f "$<"*png
chmod 444 $@
clean:
rm -f vi.0 vi.0.ps ../html/vi.0.html