diff --git a/share/doc/usd/10.exref/Makefile b/share/doc/usd/10.exref/Makefile index fed1eb665461..d93292582a9c 100644 --- a/share/doc/usd/10.exref/Makefile +++ b/share/doc/usd/10.exref/Makefile @@ -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 -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} diff --git a/share/doc/usd/12.vi/Makefile b/share/doc/usd/12.vi/Makefile index b2cb6aa41aa6..80b04cc898cd 100644 --- a/share/doc/usd/12.vi/Makefile +++ b/share/doc/usd/12.vi/Makefile @@ -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 -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}