1130b656e5
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.
27 lines
555 B
Makefile
27 lines
555 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
|
|
# $FreeBSD$
|
|
|
|
VOLUME= usd/10.exref
|
|
SRCS= ex.rm
|
|
MACROS= -ms
|
|
CLEANFILES=summary.*
|
|
SRCDIR= ${.CURDIR}/../../../../contrib/nvi/docs/USD.doc/exref
|
|
USE_TBL= yes
|
|
|
|
.include <bsd.doc.mk>
|
|
|
|
.if !defined(NODOCCOMPRESS)
|
|
SFILE= summary.${PRINTERDEVICE}.gz
|
|
.else
|
|
SFILE= summary.${PRINTERDEVICE}
|
|
.endif
|
|
|
|
all: ${DFILE} ${SFILE}
|
|
|
|
${SFILE}: ex.summary
|
|
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
|
|
|
|
afterinstall:
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${SFILE} ${DESTDIR}${BINDIR}/${VOLUME}
|