freebsd-dev/share/doc/usd/12.vi/Makefile

33 lines
743 B
Makefile
Raw Normal View History

# 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>
1995-07-26 13:52:59 +00:00
.if !defined(NODOCCOMPRESS)
SFILE= summary.${PRINTERDEVICE}.gz
VFILE= viapwh.${PRINTERDEVICE}.gz
1995-07-26 13:52:59 +00:00
.else
SFILE= summary.${PRINTERDEVICE}
VFILE= viapwh.${PRINTERDEVICE}
1995-07-26 13:52:59 +00:00
.endif
1995-07-26 13:52:59 +00:00
all: ${DFILE} ${SFILE} ${VFILE}
1995-07-26 13:52:59 +00:00
${SFILE}: vi.summary
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
1995-07-26 13:52:59 +00:00
${VFILE}: vi.apwh.ms
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
afterinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
1995-07-26 13:52:59 +00:00
${SFILE} ${VFILE} \
${DESTDIR}${BINDIR}/${VOLUME}