xref: /freebsd/share/doc/usd/10.exref/Makefile (revision 8b9a408f3fb81bdbe01bdfded09fec445cea0e83)
1#	From: @(#)Makefile	8.1 (Berkeley) 6/8/93
2#	$Id: Makefile,v 1.3 1995/07/26 13:52:56 wollman Exp $
3
4VOLUME=	usd/10.exref
5SRCS=	ex.rm
6MACROS=	-ms
7CLEANFILES=summary.*
8SRCDIR=	${.CURDIR}/../../../../usr.bin/vi/USD.doc/exref
9USE_TBL=	yes
10
11.include <bsd.doc.mk>
12
13.if !defined(NODOCCOMPRESS)
14SFILE=	summary.${PRINTER}.gz
15.else
16SFILE=	summary.${PRINTER}
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