From 6c0bdf83af2c75d69ec4eb7744c5dd98ac021302 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Sun, 2 Mar 1997 14:07:50 +0000 Subject: [PATCH] Create a subdirectory for every document. This make it easier to use the default formating rules from , especially for PRINTERDEVICE=html. --- share/doc/usd/10.exref/Makefile | 26 +++----------------- share/doc/usd/10.exref/Makefile.inc | 7 ++++++ share/doc/usd/10.exref/exref/Makefile | 9 +++++++ share/doc/usd/10.exref/summary/Makefile | 7 ++++++ share/doc/usd/12.vi/Makefile | 32 +++---------------------- share/doc/usd/12.vi/Makefile.inc | 5 ++++ share/doc/usd/12.vi/summary/Makefile | 8 +++++++ share/doc/usd/12.vi/vi/Makefile | 8 +++++++ share/doc/usd/12.vi/viapwh/Makefile | 8 +++++++ 9 files changed, 58 insertions(+), 52 deletions(-) create mode 100644 share/doc/usd/10.exref/Makefile.inc create mode 100644 share/doc/usd/10.exref/exref/Makefile create mode 100644 share/doc/usd/10.exref/summary/Makefile create mode 100644 share/doc/usd/12.vi/Makefile.inc create mode 100644 share/doc/usd/12.vi/summary/Makefile create mode 100644 share/doc/usd/12.vi/vi/Makefile create mode 100644 share/doc/usd/12.vi/viapwh/Makefile diff --git a/share/doc/usd/10.exref/Makefile b/share/doc/usd/10.exref/Makefile index 1eed74e04ae2..18afc0831460 100644 --- a/share/doc/usd/10.exref/Makefile +++ b/share/doc/usd/10.exref/Makefile @@ -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 +.include -.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} diff --git a/share/doc/usd/10.exref/Makefile.inc b/share/doc/usd/10.exref/Makefile.inc new file mode 100644 index 000000000000..141bd72a5b75 --- /dev/null +++ b/share/doc/usd/10.exref/Makefile.inc @@ -0,0 +1,7 @@ +# $Id$ + +VOLUME= usd/10.exref +MACROS= -ms +SRCDIR= ${.CURDIR}/../../../../../contrib/nvi/docs/USD.doc/exref +USE_TBL= yes + diff --git a/share/doc/usd/10.exref/exref/Makefile b/share/doc/usd/10.exref/exref/Makefile new file mode 100644 index 000000000000..3f7696ff1533 --- /dev/null +++ b/share/doc/usd/10.exref/exref/Makefile @@ -0,0 +1,9 @@ +# From: @(#)Makefile 8.1 (Berkeley) 6/8/93 +# $FreeBSD$ + +#DOC= exref +SRCS= ex.rm + +.include "../Makefile.inc" +.include + diff --git a/share/doc/usd/10.exref/summary/Makefile b/share/doc/usd/10.exref/summary/Makefile new file mode 100644 index 000000000000..5326af9d1d74 --- /dev/null +++ b/share/doc/usd/10.exref/summary/Makefile @@ -0,0 +1,7 @@ +# $Id$ + +SRCS= ex.summary +DOC= summary + +.include "../Makefile.inc" +.include diff --git a/share/doc/usd/12.vi/Makefile b/share/doc/usd/12.vi/Makefile index d6d02b6e8788..c45870e92b91 100644 --- a/share/doc/usd/12.vi/Makefile +++ b/share/doc/usd/12.vi/Makefile @@ -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 +.include -.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} diff --git a/share/doc/usd/12.vi/Makefile.inc b/share/doc/usd/12.vi/Makefile.inc new file mode 100644 index 000000000000..8950c9bc77ed --- /dev/null +++ b/share/doc/usd/12.vi/Makefile.inc @@ -0,0 +1,5 @@ +# $Id$ + +VOLUME= usd/12.vi +MACROS= -ms +USE_TBL= yes diff --git a/share/doc/usd/12.vi/summary/Makefile b/share/doc/usd/12.vi/summary/Makefile new file mode 100644 index 000000000000..1bb8ebc92fc5 --- /dev/null +++ b/share/doc/usd/12.vi/summary/Makefile @@ -0,0 +1,8 @@ +# $Id$ + +SRCS= vi.summary +DOC= summary +SRCDIR= ${.CURDIR}/../../../../../contrib/nvi/docs/USD.doc/vitut + +.include "../Makefile.inc" +.include diff --git a/share/doc/usd/12.vi/vi/Makefile b/share/doc/usd/12.vi/vi/Makefile new file mode 100644 index 000000000000..145775f4a46b --- /dev/null +++ b/share/doc/usd/12.vi/vi/Makefile @@ -0,0 +1,8 @@ +# $Id$ + +SRCS= vi.in vi.chars +#DOC= tutorial +SRCDIR= ${.CURDIR}/../../../../../contrib/nvi/docs/USD.doc/vitut + +.include "../Makefile.inc" +.include diff --git a/share/doc/usd/12.vi/viapwh/Makefile b/share/doc/usd/12.vi/viapwh/Makefile new file mode 100644 index 000000000000..47a6f256e699 --- /dev/null +++ b/share/doc/usd/12.vi/viapwh/Makefile @@ -0,0 +1,8 @@ +# $Id$ + +SRCS= vi.apwh.ms +DOC= viapwh +SRCDIR= ${.CURDIR}/../../../../../contrib/nvi/docs/USD.doc/vitut + +.include "../Makefile.inc" +.include