Create a subdirectory for every document. This make it easier to use

the default formating rules from <bsd.doc.mk>, especially for
PRINTERDEVICE=html.
This commit is contained in:
Wolfram Schneider 1997-03-02 14:07:50 +00:00
parent 4eaa194dcd
commit 6c0bdf83af
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23264
9 changed files with 58 additions and 52 deletions

View File

@ -1,26 +1,6 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
# $Id$
# $Id$
VOLUME= usd/10.exref
SRCS= ex.rm
MACROS= -ms
CLEANFILES=summary.*
SRCDIR= ${.CURDIR}/../../../../contrib/nvi/docs/USD.doc/exref
USE_TBL= yes
SUBDIR= exref summary
.include <bsd.doc.mk>
.include <bsd.subdir.mk>
.if !defined(NODOCCOMPRESS)
SFILE= summary.${PRINTERDEVICE}.gz
.else
SFILE= summary.${PRINTERDEVICE}
.endif
all: ${DFILE} ${SFILE}
${SFILE}: ex.summary
(cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}
afterinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${SFILE} ${DESTDIR}${BINDIR}/${VOLUME}

View File

@ -0,0 +1,7 @@
# $Id$
VOLUME= usd/10.exref
MACROS= -ms
SRCDIR= ${.CURDIR}/../../../../../contrib/nvi/docs/USD.doc/exref
USE_TBL= yes

View File

@ -0,0 +1,9 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
# $FreeBSD$
#DOC= exref
SRCS= ex.rm
.include "../Makefile.inc"
.include <bsd.doc.mk>

View File

@ -0,0 +1,7 @@
# $Id$
SRCS= ex.summary
DOC= summary
.include "../Makefile.inc"
.include <bsd.doc.mk>

View File

@ -1,32 +1,6 @@
# From: @(#)Makefile 8.1 (Berkeley) 8/14/93
# $Id$
# $Id$
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
SUBDIR= vi viapwh summary
.include <bsd.doc.mk>
.include <bsd.subdir.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}

View File

@ -0,0 +1,5 @@
# $Id$
VOLUME= usd/12.vi
MACROS= -ms
USE_TBL= yes

View File

@ -0,0 +1,8 @@
# $Id$
SRCS= vi.summary
DOC= summary
SRCDIR= ${.CURDIR}/../../../../../contrib/nvi/docs/USD.doc/vitut
.include "../Makefile.inc"
.include <bsd.doc.mk>

View File

@ -0,0 +1,8 @@
# $Id$
SRCS= vi.in vi.chars
#DOC= tutorial
SRCDIR= ${.CURDIR}/../../../../../contrib/nvi/docs/USD.doc/vitut
.include "../Makefile.inc"
.include <bsd.doc.mk>

View File

@ -0,0 +1,8 @@
# $Id$
SRCS= vi.apwh.ms
DOC= viapwh
SRCDIR= ${.CURDIR}/../../../../../contrib/nvi/docs/USD.doc/vitut
.include "../Makefile.inc"
.include <bsd.doc.mk>