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:
parent
4eaa194dcd
commit
6c0bdf83af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23264
@ -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}
|
||||
|
7
share/doc/usd/10.exref/Makefile.inc
Normal file
7
share/doc/usd/10.exref/Makefile.inc
Normal file
@ -0,0 +1,7 @@
|
||||
# $Id$
|
||||
|
||||
VOLUME= usd/10.exref
|
||||
MACROS= -ms
|
||||
SRCDIR= ${.CURDIR}/../../../../../contrib/nvi/docs/USD.doc/exref
|
||||
USE_TBL= yes
|
||||
|
9
share/doc/usd/10.exref/exref/Makefile
Normal file
9
share/doc/usd/10.exref/exref/Makefile
Normal 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>
|
||||
|
7
share/doc/usd/10.exref/summary/Makefile
Normal file
7
share/doc/usd/10.exref/summary/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
# $Id$
|
||||
|
||||
SRCS= ex.summary
|
||||
DOC= summary
|
||||
|
||||
.include "../Makefile.inc"
|
||||
.include <bsd.doc.mk>
|
@ -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}
|
||||
|
5
share/doc/usd/12.vi/Makefile.inc
Normal file
5
share/doc/usd/12.vi/Makefile.inc
Normal file
@ -0,0 +1,5 @@
|
||||
# $Id$
|
||||
|
||||
VOLUME= usd/12.vi
|
||||
MACROS= -ms
|
||||
USE_TBL= yes
|
8
share/doc/usd/12.vi/summary/Makefile
Normal file
8
share/doc/usd/12.vi/summary/Makefile
Normal 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>
|
8
share/doc/usd/12.vi/vi/Makefile
Normal file
8
share/doc/usd/12.vi/vi/Makefile
Normal 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>
|
8
share/doc/usd/12.vi/viapwh/Makefile
Normal file
8
share/doc/usd/12.vi/viapwh/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user