freebsd-dev/share/doc/usd/12.vi/Makefile
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00

33 lines
743 B
Makefile

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