summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/doc/usd/10.exref/Makefile26
-rw-r--r--share/doc/usd/10.exref/Makefile.inc7
-rw-r--r--share/doc/usd/10.exref/exref/Makefile9
-rw-r--r--share/doc/usd/10.exref/summary/Makefile7
-rw-r--r--share/doc/usd/12.vi/Makefile32
-rw-r--r--share/doc/usd/12.vi/Makefile.inc5
-rw-r--r--share/doc/usd/12.vi/summary/Makefile8
-rw-r--r--share/doc/usd/12.vi/vi/Makefile8
-rw-r--r--share/doc/usd/12.vi/viapwh/Makefile8
9 files changed, 58 insertions, 52 deletions
diff --git a/share/doc/usd/10.exref/Makefile b/share/doc/usd/10.exref/Makefile
index 1eed74e..18afc08 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 <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}
diff --git a/share/doc/usd/10.exref/Makefile.inc b/share/doc/usd/10.exref/Makefile.inc
new file mode 100644
index 0000000..141bd72
--- /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 0000000..3f7696f
--- /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 <bsd.doc.mk>
+
diff --git a/share/doc/usd/10.exref/summary/Makefile b/share/doc/usd/10.exref/summary/Makefile
new file mode 100644
index 0000000..5326af9
--- /dev/null
+++ b/share/doc/usd/10.exref/summary/Makefile
@@ -0,0 +1,7 @@
+# $Id$
+
+SRCS= ex.summary
+DOC= summary
+
+.include "../Makefile.inc"
+.include <bsd.doc.mk>
diff --git a/share/doc/usd/12.vi/Makefile b/share/doc/usd/12.vi/Makefile
index d6d02b6e..c45870e 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 <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}
diff --git a/share/doc/usd/12.vi/Makefile.inc b/share/doc/usd/12.vi/Makefile.inc
new file mode 100644
index 0000000..8950c9b
--- /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 0000000..1bb8ebc
--- /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 <bsd.doc.mk>
diff --git a/share/doc/usd/12.vi/vi/Makefile b/share/doc/usd/12.vi/vi/Makefile
new file mode 100644
index 0000000..145775f
--- /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 <bsd.doc.mk>
diff --git a/share/doc/usd/12.vi/viapwh/Makefile b/share/doc/usd/12.vi/viapwh/Makefile
new file mode 100644
index 0000000..47a6f25
--- /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 <bsd.doc.mk>
OpenPOWER on IntegriCloud