minix/external/bsd/nvi/dist/docs/vitut/Makefile
Lionel Sambuc 84d9c625bf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
2014-07-28 17:05:06 +02: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