c9f4bd6df0
in the usd makefiles. Closes PR# 2357. Submitted by: Philippe Charnier
33 lines
785 B
Makefile
33 lines
785 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 8/14/93
|
|
# $Id: Makefile,v 1.4 1996/11/01 07:57:07 peter Exp $
|
|
|
|
VOLUME= usd/12.vi
|
|
SRCS= vi.in vi.chars
|
|
MACROS= -ms
|
|
CLEANFILES+=summary.* viapwh.*
|
|
SRCDIR= ${.CURDIR}/../../../../contrib/nvi/docs/USD.doc/vitut
|
|
USE_TBL= yes
|
|
|
|
.include <bsd.doc.mk>
|
|
|
|
.if !defined(NODOCCOMPRESS)
|
|
SFILE= summary.${PRINTERDEVICE}.gz
|
|
VFILE= viapwh.${PRINTERDEVICE}.gz
|
|
.else
|
|
SFILE= summary.${PRINTERDEVICE}
|
|
VFILE= viapwh.${PRINTERDEVICE}
|
|
.endif
|
|
|
|
all: ${DFILE} ${SFILE} ${VFILE}
|
|
|
|
${SFILE}: vi.summary
|
|
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
|
|
|
|
${VFILE}: vi.apwh.ms
|
|
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
|
|
|
|
afterinstall:
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${SFILE} ${VFILE} \
|
|
${DESTDIR}${BINDIR}/${VOLUME}
|