25 lines
597 B
Makefile
25 lines
597 B
Makefile
|
# From: @(#)Makefile 8.1 (Berkeley) 8/14/93
|
||
|
# $Id$
|
||
|
|
||
|
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>
|
||
|
|
||
|
all: paper.${PRINTER} summary.${PRINTER} viapwh.${PRINTER}
|
||
|
|
||
|
summary.${PRINTER}: vi.summary
|
||
|
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) > ${.TARGET}
|
||
|
|
||
|
viapwh.${PRINTER}: vi.apwh.ms
|
||
|
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) > ${.TARGET}
|
||
|
|
||
|
afterinstall:
|
||
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||
|
summary.${PRINTER} viapwh.${PRINTER} \
|
||
|
${DESTDIR}${BINDIR}/${VOLUME}
|