1995-01-11 03:24:33 +00:00
|
|
|
# From: @(#)Makefile 8.1 (Berkeley) 8/14/93
|
1995-07-26 13:52:59 +00:00
|
|
|
# $Id: Makefile,v 1.1 1995/01/11 03:24:14 wollman Exp $
|
1995-01-11 03:24:33 +00:00
|
|
|
|
|
|
|
VOLUME= usd/12.vi
|
|
|
|
SRCS= vi.in vi.chars
|
|
|
|
MACROS= -ms
|
|
|
|
CLEANFILES+=summary.* viapwh.*
|
|
|
|
SRCDIR= ${.CURDIR}/../../../../usr.bin/vi/USD.doc/vitut
|
|
|
|
USE_TBL= yes
|
|
|
|
|
|
|
|
.include <bsd.doc.mk>
|
|
|
|
|
1995-07-26 13:52:59 +00:00
|
|
|
.if !defined(NODOCCOMPRESS)
|
|
|
|
SFILE= summary.${PRINTER}.gz
|
|
|
|
VFILE= viapwh.${PRINTER}.gz
|
|
|
|
.else
|
|
|
|
SFILE= summary.${PRINTER}
|
|
|
|
VFILE= viapwh.${PRINTER}
|
|
|
|
.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
|
|
|
|
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIP} > ${.TARGET}
|
|
|
|
|
|
|
|
${VFILE}: vi.apwh.ms
|
|
|
|
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIP} > ${.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}
|