Update to match latest bsd.doc.mk.

This commit is contained in:
Garrett Wollman 1995-07-26 13:52:59 +00:00
parent 91abfd343c
commit 243fa827b1
2 changed files with 26 additions and 12 deletions

View File

@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
# $Id: Makefile,v 1.1 1995/01/11 03:24:10 wollman Exp $
# $Id: Makefile,v 1.2 1995/02/04 19:59:58 phk Exp $
VOLUME= usd/10.exref
SRCS= ex.rm
@ -10,11 +10,17 @@ USE_TBL= yes
.include <bsd.doc.mk>
all: paper.${PRINTER} summary.${PRINTER}
.if !defined(NODOCCOMPRESS)
SFILE= summary.${PRINTER}.gz
.else
SFILE= summary.${PRINTER}
.endif
summary.${PRINTER}: ex.summary
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) > ${.TARGET}
all: ${DFILE} ${SFILE}
${SFILE}: ex.summary
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIP} > ${.TARGET}
afterinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
summary.${PRINTER} ${DESTDIR}${BINDIR}/${VOLUME}
${SFILE} ${DESTDIR}${BINDIR}/${VOLUME}

View File

@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 8/14/93
# $Id$
# $Id: Makefile,v 1.1 1995/01/11 03:24:14 wollman Exp $
VOLUME= usd/12.vi
SRCS= vi.in vi.chars
@ -10,15 +10,23 @@ USE_TBL= yes
.include <bsd.doc.mk>
all: paper.${PRINTER} summary.${PRINTER} viapwh.${PRINTER}
.if !defined(NODOCCOMPRESS)
SFILE= summary.${PRINTER}.gz
VFILE= viapwh.${PRINTER}.gz
.else
SFILE= summary.${PRINTER}
VFILE= viapwh.${PRINTER}
.endif
summary.${PRINTER}: vi.summary
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) > ${.TARGET}
all: ${DFILE} ${SFILE} ${VFILE}
viapwh.${PRINTER}: vi.apwh.ms
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) > ${.TARGET}
${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} \
summary.${PRINTER} viapwh.${PRINTER} \
${SFILE} ${VFILE} \
${DESTDIR}${BINDIR}/${VOLUME}