xref: /freebsd/share/doc/usd/10.exref/Makefile (revision 61afd5bb22d787b0641523e7b9b95c964d669bd5)
1#	From: @(#)Makefile	8.1 (Berkeley) 6/8/93
2#	$Id: Makefile,v 1.5 1996/11/01 07:57:05 peter Exp $
3
4VOLUME=	usd/10.exref
5SRCS=	ex.rm
6MACROS=	-ms
7CLEANFILES=summary.*
8SRCDIR=	${.CURDIR}/../../../../contrib/nvi/docs/USD.doc/exref
9USE_TBL=	yes
10
11.include <bsd.doc.mk>
12
13.if !defined(NODOCCOMPRESS)
14SFILE=	summary.${PRINTERDEVICE}.gz
15.else
16SFILE=	summary.${PRINTERDEVICE}
17.endif
18
19all:	${DFILE} ${SFILE}
20
21${SFILE}: ex.summary
22	(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
23
24afterinstall:
25	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
26		${SFILE} ${DESTDIR}${BINDIR}/${VOLUME}
27