1995-01-11 03:24:33 +00:00
|
|
|
# From: @(#)Makefile 8.1 (Berkeley) 8/14/93
|
1997-01-14 07:20:47 +00:00
|
|
|
# $FreeBSD$
|
1995-01-11 03:24:33 +00:00
|
|
|
|
|
|
|
VOLUME= usd/12.vi
|
|
|
|
SRCS= vi.in vi.chars
|
|
|
|
MACROS= -ms
|
|
|
|
CLEANFILES+=summary.* viapwh.*
|
1996-11-01 07:57:08 +00:00
|
|
|
SRCDIR= ${.CURDIR}/../../../../contrib/nvi/docs/USD.doc/vitut
|
1995-01-11 03:24:33 +00:00
|
|
|
USE_TBL= yes
|
|
|
|
|
|
|
|
.include <bsd.doc.mk>
|
|
|
|
|
1995-07-26 13:52:59 +00:00
|
|
|
.if !defined(NODOCCOMPRESS)
|
1997-01-02 16:56:35 +00:00
|
|
|
SFILE= summary.${PRINTERDEVICE}.gz
|
|
|
|
VFILE= viapwh.${PRINTERDEVICE}.gz
|
1995-07-26 13:52:59 +00:00
|
|
|
.else
|
1997-01-02 16:56:35 +00:00
|
|
|
SFILE= summary.${PRINTERDEVICE}
|
|
|
|
VFILE= viapwh.${PRINTERDEVICE}
|
1995-07-26 13:52:59 +00:00
|
|
|
.endif
|
1995-01-11 03:24:33 +00:00
|
|
|
|
1995-07-26 13:52:59 +00:00
|
|
|
all: ${DFILE} ${SFILE} ${VFILE}
|
1995-01-11 03:24:33 +00:00
|
|
|
|
1995-07-26 13:52:59 +00:00
|
|
|
${SFILE}: vi.summary
|
1995-07-30 08:04:50 +00:00
|
|
|
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
|
1995-07-26 13:52:59 +00:00
|
|
|
|
|
|
|
${VFILE}: vi.apwh.ms
|
1995-07-30 08:04:50 +00:00
|
|
|
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
|
1995-01-11 03:24:33 +00:00
|
|
|
|
|
|
|
afterinstall:
|
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
1995-07-26 13:52:59 +00:00
|
|
|
${SFILE} ${VFILE} \
|
1995-01-11 03:24:33 +00:00
|
|
|
${DESTDIR}${BINDIR}/${VOLUME}
|