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

33 lines
751 B
Makefile
Raw Normal View History

# 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 $
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-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}) | ${GZIP} > ${.TARGET}
${VFILE}: vi.apwh.ms
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIP} > ${.TARGET}
afterinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
1995-07-26 13:52:59 +00:00
${SFILE} ${VFILE} \
${DESTDIR}${BINDIR}/${VOLUME}