blob: fae1956795690c8a19701fc36d3f3e67adb3a3b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# From: @(#)Makefile 8.1 (Berkeley) 8/14/93
# $FreeBSD$
VOLUME= usd/12.vi
SRCS= vi.in vi.chars
MACROS= -ms
CLEANFILES+=summary.* viapwh.*
SRCDIR= ${.CURDIR}/../../../../contrib/nvi/docs/USD.doc/vitut
USE_TBL= yes
.include <bsd.doc.mk>
.if !defined(NODOCCOMPRESS)
SFILE= summary.${PRINTERDEVICE}.gz
VFILE= viapwh.${PRINTERDEVICE}.gz
.else
SFILE= summary.${PRINTERDEVICE}
VFILE= viapwh.${PRINTERDEVICE}
.endif
all: ${DFILE} ${SFILE} ${VFILE}
${SFILE}: vi.summary
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
${VFILE}: vi.apwh.ms
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
afterinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${SFILE} ${VFILE} \
${DESTDIR}${BINDIR}/${VOLUME}
|