new doc makefiles
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 1 Jul 1990 06:10:44 +0000 (22:10 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 1 Jul 1990 06:10:44 +0000 (22:10 -0800)
SCCS-vsn: usr.sbin/config/SMM.doc/Makefile 6.3
SCCS-vsn: old/adb/SMM.doc/Makefile 6.2
SCCS-vsn: share/doc/smm/04.quotas/Makefile 6.2
SCCS-vsn: sbin/fsck/SMM.doc/Makefile 4.3
SCCS-vsn: usr.sbin/lpr/SMM.doc/Makefile 6.3
SCCS-vsn: usr.sbin/sendmail/doc/op/Makefile 5.2
SCCS-vsn: usr.sbin/timed/SMM.doc/timedop/Makefile 6.3
SCCS-vsn: usr.bin/uucp/SMM.doc/uucpimpl/Makefile 6.2
SCCS-vsn: share/doc/smm/05.fastfs/Makefile 5.4
SCCS-vsn: share/doc/smm/18.net/Makefile 6.3
SCCS-vsn: usr.sbin/sendmail/doc/intro/Makefile 5.3
SCCS-vsn: usr.sbin/sendmail/doc/usenix/Makefile 5.3
SCCS-vsn: share/doc/smm/16.security/Makefile 1.2
SCCS-vsn: share/doc/smm/17.password/Makefile 6.2
SCCS-vsn: old/roff/SMM.doc/termdesc/Makefile 6.2
SCCS-vsn: usr.bin/uucp/SMM.doc/uucpnet/Makefile 6.2
SCCS-vsn: usr.sbin/timed/SMM.doc/timed/Makefile 6.3
SCCS-vsn: share/doc/smm/Makefile 5.1
SCCS-vsn: share/doc/usd/01.begin/Makefile 5.1
SCCS-vsn: usr.bin/learn/USD.doc/Makefile 6.2
SCCS-vsn: bin/sh/USD.doc/Makefile 5.1
SCCS-vsn: bin/csh/USD.doc/Makefile 5.1
SCCS-vsn: usr.bin/dc/USD.doc/Makefile 5.1
SCCS-vsn: usr.bin/bc/USD.doc/Makefile 5.1
SCCS-vsn: usr.bin/mail/USD.doc/Makefile 6.2
SCCS-vsn: bin/ed/USD.doc/tutorial/Makefile 5.1
SCCS-vsn: bin/ed/USD.doc/advanced/Makefile 5.1
SCCS-vsn: usr.bin/ex/USD.doc/edit/Makefile 6.2
SCCS-vsn: usr.bin/ex/USD.doc/vitut/Makefile 6.3
SCCS-vsn: usr.bin/ex/USD.doc/exref/Makefile 6.2
SCCS-vsn: contrib/jove-4.14.6/USD.doc/Makefile 6.2
SCCS-vsn: usr.bin/sed/USD.doc/Makefile 5.1
SCCS-vsn: old/awk/USD.doc/Makefile 5.1
SCCS-vsn: share/doc/usd/17.msmacros/Makefile 5.1
SCCS-vsn: share/doc/usd/18.msdiffs/Makefile 6.2
SCCS-vsn: share/doc/usd/19.memacros/Makefile 6.4
SCCS-vsn: share/doc/usd/20.meref/Makefile 6.4
SCCS-vsn: old/roff/USD.doc/troff/Makefile 6.4
SCCS-vsn: old/roff/USD.doc/troff.tutorial/Makefile 5.1
SCCS-vsn: old/eqn/USD.doc/eqn/Makefile 5.1
SCCS-vsn: old/eqn/USD.doc/eqnguide/Makefile 5.1
SCCS-vsn: old/tbl/USD.doc/Makefile 5.1
SCCS-vsn: old/refer/USD.doc/refer/Makefile 6.2
SCCS-vsn: old/refer/USD.doc/invert/Makefile 5.1

44 files changed:
usr/src/bin/csh/USD.doc/Makefile [new file with mode: 0644]
usr/src/bin/ed/USD.doc/advanced/Makefile [new file with mode: 0644]
usr/src/bin/ed/USD.doc/tutorial/Makefile [new file with mode: 0644]
usr/src/bin/sh/USD.doc/Makefile [new file with mode: 0644]
usr/src/contrib/jove-4.14.6/USD.doc/Makefile
usr/src/old/adb/SMM.doc/Makefile
usr/src/old/awk/USD.doc/Makefile [new file with mode: 0644]
usr/src/old/eqn/USD.doc/eqn/Makefile [new file with mode: 0644]
usr/src/old/eqn/USD.doc/eqnguide/Makefile [new file with mode: 0644]
usr/src/old/refer/USD.doc/invert/Makefile [new file with mode: 0644]
usr/src/old/refer/USD.doc/refer/Makefile
usr/src/old/roff/SMM.doc/termdesc/Makefile
usr/src/old/roff/USD.doc/troff.tutorial/Makefile [new file with mode: 0644]
usr/src/old/roff/USD.doc/troff/Makefile
usr/src/old/tbl/USD.doc/Makefile [new file with mode: 0644]
usr/src/sbin/fsck/SMM.doc/Makefile
usr/src/share/doc/smm/04.quotas/Makefile
usr/src/share/doc/smm/05.fastfs/Makefile
usr/src/share/doc/smm/16.security/Makefile
usr/src/share/doc/smm/17.password/Makefile
usr/src/share/doc/smm/18.net/Makefile
usr/src/share/doc/smm/Makefile [new file with mode: 0644]
usr/src/share/doc/usd/01.begin/Makefile [new file with mode: 0644]
usr/src/share/doc/usd/17.msmacros/Makefile [new file with mode: 0644]
usr/src/share/doc/usd/18.msdiffs/Makefile
usr/src/share/doc/usd/19.memacros/Makefile
usr/src/share/doc/usd/20.meref/Makefile
usr/src/usr.bin/bc/USD.doc/Makefile [new file with mode: 0644]
usr/src/usr.bin/dc/USD.doc/Makefile [new file with mode: 0644]
usr/src/usr.bin/ex/USD.doc/edit/Makefile
usr/src/usr.bin/ex/USD.doc/exref/Makefile
usr/src/usr.bin/ex/USD.doc/vitut/Makefile
usr/src/usr.bin/learn/USD.doc/Makefile
usr/src/usr.bin/mail/USD.doc/Makefile
usr/src/usr.bin/sed/USD.doc/Makefile [new file with mode: 0644]
usr/src/usr.bin/uucp/SMM.doc/uucpimpl/Makefile
usr/src/usr.bin/uucp/SMM.doc/uucpnet/Makefile
usr/src/usr.sbin/config/SMM.doc/Makefile
usr/src/usr.sbin/lpr/SMM.doc/Makefile
usr/src/usr.sbin/sendmail/doc/intro/Makefile
usr/src/usr.sbin/sendmail/doc/op/Makefile
usr/src/usr.sbin/sendmail/doc/usenix/Makefile
usr/src/usr.sbin/timed/SMM.doc/timed/Makefile
usr/src/usr.sbin/timed/SMM.doc/timedop/Makefile

diff --git a/usr/src/bin/csh/USD.doc/Makefile b/usr/src/bin/csh/USD.doc/Makefile
new file mode 100644 (file)
index 0000000..f84ce01
--- /dev/null
@@ -0,0 +1,9 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/04.csh
+SRCS=  tabs csh.1 csh.2 csh.3 csh.4 csh.a csh.g
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
diff --git a/usr/src/bin/ed/USD.doc/advanced/Makefile b/usr/src/bin/ed/USD.doc/advanced/Makefile
new file mode 100644 (file)
index 0000000..bde88b3
--- /dev/null
@@ -0,0 +1,9 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/13.edadv
+SRCS=  ae.mac ae0 ae1 ae2 ae3 ae4 ae5 ae6 ae7 ae9
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
diff --git a/usr/src/bin/ed/USD.doc/tutorial/Makefile b/usr/src/bin/ed/USD.doc/tutorial/Makefile
new file mode 100644 (file)
index 0000000..fcffdf2
--- /dev/null
@@ -0,0 +1,9 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/12.edtut
+SRCS=  e.mac e0 e1 e2 e3 e4 e5 e6 e7
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
diff --git a/usr/src/bin/sh/USD.doc/Makefile b/usr/src/bin/sh/USD.doc/Makefile
new file mode 100644 (file)
index 0000000..0cca803
--- /dev/null
@@ -0,0 +1,9 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/03.shell
+SRCS=  t.mac t1 t2 t3 t4
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
index ce0fe4d..60b85f4 100644 (file)
@@ -1,25 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   usd/17.jove
 SRCS=  jove.1 jove.2 jove.3 jove.4
 MACROS=        -msU
 SRCS=  jove.1 jove.2 jove.3 jove.4
 MACROS=        -msU
-PRINTER=Pdp
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 08aebb3..782347b 100644 (file)
@@ -1,26 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   smm/03.kdebug
 SRCS=  kdebug.ms
 MACROS=        -msU
 SRCS=  kdebug.ms
 MACROS=        -msU
-PRINTER=Pdp
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
diff --git a/usr/src/old/awk/USD.doc/Makefile b/usr/src/old/awk/USD.doc/Makefile
new file mode 100644 (file)
index 0000000..594d13a
--- /dev/null
@@ -0,0 +1,10 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/19.awk
+SRCS=  awk
+MACROS=        -msU
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} ${SRCS} > ${.TARGET}
+
+.include <bsd.doc.mk>
diff --git a/usr/src/old/eqn/USD.doc/eqn/Makefile b/usr/src/old/eqn/USD.doc/eqn/Makefile
new file mode 100644 (file)
index 0000000..2aa3a69
--- /dev/null
@@ -0,0 +1,10 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/26.eqn
+SRCS=  e.mac e0 e1 e2 e3 e4 e5 e6 e7
+MACROS=        -msU
+
+paper.${PRINTER}: ${SRCS}
+       ${EQN} ${SRCS} | ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
diff --git a/usr/src/old/eqn/USD.doc/eqnguide/Makefile b/usr/src/old/eqn/USD.doc/eqnguide/Makefile
new file mode 100644 (file)
index 0000000..db408c0
--- /dev/null
@@ -0,0 +1,10 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/27.eqnguide
+SRCS=  g.mac g0 g1 g2 g3 g4 g5
+MACROS=        -msU
+
+paper.${PRINTER}: ${SRCS}
+       ${EQN} ${SRCS} | ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
diff --git a/usr/src/old/refer/USD.doc/invert/Makefile b/usr/src/old/refer/USD.doc/invert/Makefile
new file mode 100644 (file)
index 0000000..5cf5d86
--- /dev/null
@@ -0,0 +1,10 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/30.invert
+SRCS=  refer
+MACROS=        -msU
+
+paper.${PRINTER}: ${SRCS}
+       ${REFER} ${SRCS} | ${TBL} | ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
index 399ae09..5306c1a 100644 (file)
@@ -1,27 +1,12 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
 # refer.mac should be typed on a 12 pitch Daisy wheel printer
 # refer.mac should be typed on a 12 pitch Daisy wheel printer
+DIR=   usd/29.refer
 SRCS=  refer.bib
 MACROS=        -msU
 SRCS=  refer.bib
 MACROS=        -msU
-PRINTER=Pdp
 REFER= refer -p biblio
 REFER= refer -p biblio
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${REFER} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${REFER} ${SRCS} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index e6b22a8..b3cc5f8 100644 (file)
@@ -1,25 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   smm/20.termdesc
 SRCS=  termdesc.me
 MACROS=        -me
 SRCS=  termdesc.me
 MACROS=        -me
-PRINTER=Pdp
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
diff --git a/usr/src/old/roff/USD.doc/troff.tutorial/Makefile b/usr/src/old/roff/USD.doc/troff.tutorial/Makefile
new file mode 100644 (file)
index 0000000..3a09d69
--- /dev/null
@@ -0,0 +1,11 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/25.trofftut
+SRCS=  tt.mac tt00 tt01 tt02 tt03 tt04 tt05 tt06 tt07 tt08 tt09 tt10 \
+       tt11 tt12 tt13 tt14 ttack ttcharset ttindex
+MACROS=        -msU
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} ${SRCS} > ${.TARGET}
+
+.include <bsd.doc.mk>
index efc69bb..359bac8 100644 (file)
@@ -1,10 +1,6 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.3 (Berkeley) %G%
-#
+#      @(#)Makefile    6.4 (Berkeley) %G%
+
+DIR=   usd/24.troff
 INTRO= m0
 TUTOR= m0a
 PAPER= m1 m2 m3 m4
 INTRO= m0
 TUTOR= m0a
 PAPER= m1 m2 m3 m4
@@ -12,44 +8,34 @@ APNDX1=      m5
 APNDX2=        table1
 APNDX3=        table2
 MACROS=        m.mac
 APNDX2=        table1
 APNDX3=        table2
 MACROS=        m.mac
-PRINTER=Pdp
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-LPR=   lpr -n -${PRINTER}
-
-paper: intro.${PRINTER} tutor.${PRINTER} paper.${PRINTER}
-paper: apndx1.${PRINTER} apndx2.${PRINTER} apndx3.${PRINTER} 
-       ${LPR} intro.${PRINTER}
-       ${LPR} tutor.${PRINTER}
-       ${LPR} paper.${PRINTER}
-       ${LPR} apndx1.${PRINTER}
-       ${LPR} apndx2.${PRINTER}
-       ${LPR} apndx3.${PRINTER}
+
+paper.${PRINTER}: intro.${PRINTER} tutor.${PRINTER} apndx1.${PRINTER} \
+       apndx2.${PRINTER} apndx3.${PRINTER}
+       ${TBL} ${PAPER} | ${ROFF} > ${.TARGET}
 
 intro.${PRINTER}: ${INTRO}
 
 intro.${PRINTER}: ${INTRO}
-       ${TROFF} -t ${MACROS} ${INTRO} > intro.${PRINTER}
+       ${ROFF} ${INTRO} > ${.TARGET}
 
 tutor.${PRINTER}: ${TUTOR}
 
 tutor.${PRINTER}: ${TUTOR}
-       ${TBL} ${TUTOR} | ${TROFF} -t ${MACROS} - > tutor.${PRINTER}
-
-paper.${PRINTER}: ${PAPER}
-       ${TBL} ${PAPER} | ${TROFF} -t ${MACROS} - > paper.${PRINTER}
+       ${TBL} ${TUTOR} | ${ROFF} > ${.TARGET}
 
 apndx1.${PRINTER}: ${APNDX1}
 
 apndx1.${PRINTER}: ${APNDX1}
-       ${TROFF} -t ${MACROS} ${APNDX1} > apndx1.${PRINTER}
+       ${ROFF} ${APNDX1} > ${.TARGET}
 
 apndx2.${PRINTER}: ${APNDX2}
 
 apndx2.${PRINTER}: ${APNDX2}
-       ${TROFF} -t ${MACROS} ${APNDX2} > apndx2.${PRINTER}
+       ${ROFF} ${APNDX2} > ${.TARGET}
 
 apndx3.${PRINTER}: ${APNDX3}
 
 apndx3.${PRINTER}: ${APNDX3}
-       ${TROFF} -t ${MACROS} ${APNDX3} > apndx3.${PRINTER}
+       ${ROFF} ${APNDX3} > ${.TARGET}
 
 clean:
        rm -f intro.${PRINTER} tutor.${PRINTER} paper.${PRINTER} \
 
 clean:
        rm -f intro.${PRINTER} tutor.${PRINTER} paper.${PRINTER} \
-               apndx1.${PRINTER} apndx2.${PRINTER} apndx3.${PRINTER} \
-               *.spell errs Errs make.out
+           apndx1.${PRINTER} apndx2.${PRINTER} apndx3.${PRINTER} \
+           *.spell errs Errs make.out
 
 
-spell: ${INTRO} ${TUTOR} ${PAPER} ${APNDX1} ${APNDX2} ${APNDX3}
+spell: ${INTRO} ${TUTOR} ${PAPER} ${APNDX1} ${APNDX2} ${APNDX3}
        @for i in ${INTRO} ${TUTOR} ${PAPER} ${APNDX1} ${APNDX2} ${APNDX3}; do \
                echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
        done
        @for i in ${INTRO} ${TUTOR} ${PAPER} ${APNDX1} ${APNDX2} ${APNDX3}; do \
                echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
        done
+
+.include <bsd.doc.mk>
diff --git a/usr/src/old/tbl/USD.doc/Makefile b/usr/src/old/tbl/USD.doc/Makefile
new file mode 100644 (file)
index 0000000..aea80bb
--- /dev/null
@@ -0,0 +1,10 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/28.tbl
+SRCS=  tbl
+MACROS=        -msU
+
+paper.${PRINTER}: ${SRCS}
+       ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
index d438211..78b5c9e 100644 (file)
@@ -1,20 +1,10 @@
-#
-# Copyright (c) 1982 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    4.2 (Berkeley) %G%
-#
+#      @(#)Makefile    4.3 (Berkeley) %G%
+
+DIR=   smm/05.fsck
 SRCS=  0.t 1.t 2.t 3.t 4.t
 TROFF= ditroff
 SRCS=  0.t 1.t 2.t 3.t 4.t
 TROFF= ditroff
-PRINTER=-Pdp
-TYPE=  -n
-
-paper: fsck.t
-       lpr ${PRINTER} ${TYPE} fsck.t
 
 
-fsck.t:        ${SRCS}
-       ${TROFF} ${PRINTER} -ms -t ${SRCS} > fsck.t
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 
-clean:
-       rm -f fsck.t
+.include <bsd.doc.mk>
index abb6454..12516ef 100644 (file)
@@ -1,25 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   smm/04.quotas
 SRCS=  quotas.ms
 MACROS=        -ms
 SRCS=  quotas.ms
 MACROS=        -ms
-PRINTER=Pdp
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 1b2ef58..1418739 100644 (file)
@@ -1,39 +1,10 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    5.3 (Berkeley) %G%
-#
+#      @(#)Makefile    5.4 (Berkeley) %G%
+
+DIR=   smm/14.fastfs
 SRCS=  0.t 1.t 2.t 3.t 4.t 5.t 6.t
 MACROS=        -ms
 SRCS=  0.t 1.t 2.t 3.t 4.t 5.t 6.t
 MACROS=        -ms
-PRINTER=Pdp
-EQN=   deqn -${PRINTER}
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${EQN} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
-
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+       ${TBL} ${SRCS} | ${EQN} | ${TROFF} > ${.TARGET}
 
 
+.include <bsd.doc.mk>
index 90014ff..ab0d830 100644 (file)
@@ -1,25 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    1.1 (Berkeley) %G%
-#
+#      @(#)Makefile    1.2 (Berkeley) %G%
+
+DIR=   smm/17.security
 SRCS=  security.ms
 MACROS=        -ms
 SRCS=  security.ms
 MACROS=        -ms
-PRINTER=Pdp
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-        ${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+        ${ROFF} ${SRCS} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 8e661cf..e7c0769 100644 (file)
@@ -1,27 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   smm/18.password
 SRCS=  password.ms
 MACROS=        -ms
 SRCS=  password.ms
 MACROS=        -ms
-PRINTER=Pdp
-EQN=   deqn -${PRINTER}
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${EQN} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${TBL} ${SRCS} | ${EQN} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 1720ecf..37f68cc 100644 (file)
@@ -1,38 +1,10 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    6.2 (Berkeley) %G%
-#
-#
+#      @(#)Makefile    6.3 (Berkeley) %G%
+
+DIR=   smm/15.net
 SRCS=  0.t 1.t 2.t 3.t 4.t 5.t 6.t 7.t 8.t 9.t a.t b.t c.t d.t e.t f.t
 MACROS=        -ms
 SRCS=  0.t 1.t 2.t 3.t 4.t 5.t 6.t 7.t 8.t 9.t a.t b.t c.t d.t e.t f.t
 MACROS=        -ms
-PRINTER=Pdp
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
diff --git a/usr/src/share/doc/smm/Makefile b/usr/src/share/doc/smm/Makefile
new file mode 100644 (file)
index 0000000..1aea5a2
--- /dev/null
@@ -0,0 +1,15 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+# 01.setup isn't right yet.
+BINDIR=        /usr/share/doc/smm
+FILES= 00.contents Makefile Title
+SUBDIR=        02.config 03.kdebug 04.quotas 05.fsck 06.lpd 07.sendmailop \
+       08.timedop 09.uucpimpl 10.newsop 11.named 12.uchanges 13.kchanges \
+       14.fastfs 15.net 16.sendmail 17.security 18.password 19.porttour \
+       20.termdesc 21.uucpnet 22.timed
+
+beforeinstall:
+       install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
+           ${DESTDIR}${BINDIR}
+
+.include <bsd.subdir.mk>
diff --git a/usr/src/share/doc/usd/01.begin/Makefile b/usr/src/share/doc/usd/01.begin/Makefile
new file mode 100644 (file)
index 0000000..5c06145
--- /dev/null
@@ -0,0 +1,10 @@
+#       @(#)Makefile   5.1 (Berkeley) %G%
+
+DIR=   usd/01.begin
+SRCS=  u.mac u0 u1 u2 u3 u4 u5
+MACROS= -msU
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} ${SRCS} > ${.TARGET}
+
+.include <bsd.doc.mk>
diff --git a/usr/src/share/doc/usd/17.msmacros/Makefile b/usr/src/share/doc/usd/17.msmacros/Makefile
new file mode 100644 (file)
index 0000000..e880cf1
--- /dev/null
@@ -0,0 +1,10 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/20.msmacros
+SRCS=  ms
+MACROS=        -msU
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} ${SRCS} > ${.TARGET}
+
+.include <bsd.doc.mk>
index 92dfc95..848d44b 100644 (file)
@@ -1,25 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   usd/21.msdiffs
 SRCS=  ms.diffs
 MACROS=        -msU
 SRCS=  ms.diffs
 MACROS=        -msU
-PRINTER=Pdp
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 01b59e2..630cb3f 100644 (file)
@@ -1,35 +1,10 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    6.3 (Berkeley) %G%
-#
-SRCS=  intro.me
-DEVICE=        dp
-TROFF= ditroff -P${DEVICE}
-
-paper: intro.${DEVICE}
-       lpr -P${DEVICE} -n intro.${DEVICE}
+#      @(#)Makefile    6.4 (Berkeley) %G%
 
 
-intro.${DEVICE}: ${SRCS}
-       ${TROFF} -me -t ${SRCS} > intro.${DEVICE}
+DIR=   usd/22.memacros
+SRCS=  intro.me
+MACROS=        -me
 
 
-clean:
-       rm -f intro.${DEVICE} *.spell errs Errs make.out
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 440571c..6d01740 100644 (file)
@@ -1,35 +1,10 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    6.3 (Berkeley) %G%
-#
-SRCS=  ref.me
-DEVICE=        dp
-TROFF= ditroff -P${DEVICE}
-
-paper: ref.${DEVICE}
-       lpr -P${DEVICE} -n ref.${DEVICE}
+#      @(#)Makefile    6.4 (Berkeley) %G%
 
 
-ref.${DEVICE}: ${SRCS}
-       ${TROFF} -me -t ${SRCS} > ref.${DEVICE}
+DIR=   usd/23.meref
+SRCS=  ref.me
+MACROS=        -me
 
 
-clean:
-       rm -f ref.${DEVICE} *.spell errs Errs make.out
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
diff --git a/usr/src/usr.bin/bc/USD.doc/Makefile b/usr/src/usr.bin/bc/USD.doc/Makefile
new file mode 100644 (file)
index 0000000..5241797
--- /dev/null
@@ -0,0 +1,10 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/06.bc
+SRCS=  bc
+MACROS=        -ms
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
diff --git a/usr/src/usr.bin/dc/USD.doc/Makefile b/usr/src/usr.bin/dc/USD.doc/Makefile
new file mode 100644 (file)
index 0000000..71620e0
--- /dev/null
@@ -0,0 +1,10 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/05.dc
+SRCS=  dc
+MACROS=        -ms
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
index 893b044..9297845 100644 (file)
@@ -1,29 +1,11 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   usd/14.edit
 SRCS=  edittut.ms
 MACROS=        -msU
 SRCS=  edittut.ms
 MACROS=        -msU
-PRINTER=Pdp
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
-
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+       ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
 
 # index for versatec is different from the one in edit.tut
 # because the fonts are different and entries reference page
 
 # index for versatec is different from the one in edit.tut
 # because the fonts are different and entries reference page
@@ -32,3 +14,5 @@ spell:        ${SRCS}
 
 editvindex:
        ${TROFF} ${MACROS} -n22 edit.vindex
 
 editvindex:
        ${TROFF} ${MACROS} -n22 edit.vindex
+
+.include <bsd.doc.mk>
index 0e589e1..6ecbe8e 100644 (file)
@@ -1,30 +1,14 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   usd/16.ex
 SRCS=  ex.rm
 MACROS=        -msU
 SRCS=  ex.rm
 MACROS=        -msU
-PRINTER=Pdp
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER} summary.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
-       lpr -${PRINTER} -n summary.${PRINTER}
+CLEANFILES=summary.*
 
 
-paper.${PRINTER}: ${SRCS}
-       ${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
+paper.${PRINTER}: ${SRCS} summary.${PRINTER}
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 summary.${PRINTER}: ex.summary
 
 summary.${PRINTER}: ex.summary
-       ${TBL} ex.summary | ${TROFF} ${MACROS} -t > summary.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* summary.[PT]* *.spell errs Errs make.out
+       ${TBL} ex.summary | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index d66116d..0de2b61 100644 (file)
@@ -1,45 +1,17 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    6.2 (Berkeley) %G%
-#
+#      @(#)Makefile    6.3 (Berkeley) %G%
+
+DIR=   usd/15.vi
 SRCS=  vi.in vi.chars
 MACROS=        -msU
 SRCS=  vi.in vi.chars
 MACROS=        -msU
-PRINTER=Pdp
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER} summary.${PRINTER} viapwh.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
-       lpr -${PRINTER} -n summary.${PRINTER}
-       lpr -${PRINTER} -n viapwh.${PRINTER}
+CLEANFILES+=summary.* viapwh.*
 
 
-paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
+paper.${PRINTER}: ${SRCS} summary.${PRINTER} viapwh.${PRINTER}
+       ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
 
 summary.${PRINTER}: vi.summary
 
 summary.${PRINTER}: vi.summary
-       ${TBL} vi.summary | ${TROFF} ${MACROS} -t > summary.${PRINTER}
+       ${TBL} vi.summary | ${ROFF}  > ${.TARGET}
 
 viapwh.${PRINTER}: vi.apwh.ms
 
 viapwh.${PRINTER}: vi.apwh.ms
-       ${TROFF} ${MACROS} -t vi.viapwh > viapwh.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* summary.[PT]* viapwh.[PT]* *.spell errs Errs make.out
+       ${ROFF} vi.viapwh > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 2734d4d..c007c3b 100644 (file)
@@ -1,41 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
-DOCS = p0 p1 p2 p3 p4 p5 p6 p7
-#
-#
-# Change these to change the way the document is printed out
-#
-FMT = ditroff
-PKG = -msU
-PRINTER = -Pdp
-FMTOPTIONS =
-TBL = dtbl
+#      @(#)Makefile    6.2 (Berkeley) %G%
 
 
-all: sources fmt
+DIR=   usd/02.learn
+SRCS=  p0 p1 p2 p3 p4 p5 p6 p7
+MACROS=        -msU
 
 
-clean:
-       -rm $(FMTDST)
-
-srcs: sources
-sources:  $(DOCS)
-$(DOCS):
-       sccs get $@
-
-
-
-docs.raw: $(DOCS)
-
-fmt: $(DOCS)
-       refer -p Refs -e $(DOCS) | $(TBL) $(PRINTER) | $(FMT) $(FMTOPTIONS) $(PKG) $(PRINTER)
-
-aps: $(DOCS)
-       refer -p Refs -e $(DOCS) | $(TBL) $(PRINTER) | $(FMT) $(FMTOPTIONS) $(PKG) $(PRINTER) | $(LPR)
-
-indexable: $(DOCS)
-       refer -p Refs -e $(DOCS) | $(TBL) $(PRINTER) | sed -f ../pre.sed | $(FMT) $(FMTOPTIONS) $(PKG) $(PRINTER) | sed -f ../post.sed >../learn.a
+paper.${PRINTER}: ${SRCS}
+       ${REFER} -p Refs -e ${SRCS} | ${TBL} | ${ROFF} > ${.TARGET}
 
 
+.include <bsd.doc.mk>
index aa72e16..95bd55e 100644 (file)
@@ -1,28 +1,11 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   usd/07.Mail
 SRCS=  mail0.nr mail1.nr mail2.nr mail3.nr mail4.nr mail5.nr mail6.nr \
        mail7.nr mail8.nr mail9.nr maila.nr
 SRCS=  mail0.nr mail1.nr mail2.nr mail3.nr mail4.nr mail5.nr mail6.nr \
        mail7.nr mail8.nr mail9.nr maila.nr
-
 MACROS=        -me
 MACROS=        -me
-PRINTER=Pdp
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
diff --git a/usr/src/usr.bin/sed/USD.doc/Makefile b/usr/src/usr.bin/sed/USD.doc/Makefile
new file mode 100644 (file)
index 0000000..16d46d5
--- /dev/null
@@ -0,0 +1,10 @@
+#      @(#)Makefile    5.1 (Berkeley) %G%
+
+DIR=   usd/18.sed
+SRCS=  sed
+MACROS=        -msU
+
+paper.${PRINTER}: ${SRCS}
+       ${ROFF} ${SRCS} > ${.TARGET}
+
+.include <bsd.doc.mk>
index ecdf9d6..d507367 100644 (file)
@@ -1,26 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   smm/09.uucpimpl
 SRCS=  implement.ms
 MACROS=        -ms
 SRCS=  implement.ms
 MACROS=        -ms
-PRINTER=Pdp
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 1c19dc3..c0d4f61 100644 (file)
@@ -1,27 +1,11 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   smm/21.uucpnet
 SRCS=  network.ms
 MACROS=        -ms
 SRCS=  network.ms
 MACROS=        -ms
-PRINTER=Pdp
 REFER= refer -p /usr/doc/run/Ind
 REFER= refer -p /usr/doc/run/Ind
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${REFER} -e ${SRCS} | ${TBL} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${REFER} -e ${SRCS} | ${TBL} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 83a2df2..52cba85 100644 (file)
@@ -1,26 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.2 (Berkeley) %G%
-#
+#      @(#)Makefile    6.3 (Berkeley) %G%
+
+DIR=   smm/02.config
 SRCS=  0.t 1.t 2.t 3.t 4.t 5.t 6.t a.t b.t c.t d.t e.t
 MACROS=        -ms
 SRCS=  0.t 1.t 2.t 3.t 4.t 5.t 6.t a.t b.t c.t d.t e.t
 MACROS=        -ms
-PRINTER=Pdp
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index e34614a..90ded59 100644 (file)
@@ -1,38 +1,10 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    6.2 (Berkeley) %G%
-#
+#      @(#)Makefile    6.3 (Berkeley) %G%
+
+DIR=   smm/06.lpd
 SRCS=  0.t 1.t 2.t 3.t 4.t 5.t 6.t 7.t
 MACROS=        -ms
 SRCS=  0.t 1.t 2.t 3.t 4.t 5.t 6.t 7.t
 MACROS=        -ms
-PRINTER=Pdp
-EQN=   deqn -${PRINTER}
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.${PRINTER} *.spell errs Errs make.out
+       ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 7c856b1..8faf60c 100644 (file)
@@ -1,37 +1,10 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    5.2 (Berkeley) %G%
-#
+#      @(#)Makefile    5.3 (Berkeley) %G%
+
+DIR=   smm/16.sendmail
 SRCS=  intro.me
 MACROS=        -me
 SRCS=  intro.me
 MACROS=        -me
-PRINTER=Pdp
-TROFF= ditroff -${PRINTER}
-PIC=   pic -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${PIC} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${PIC} ${SRCS} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 158da87..f7471ab 100644 (file)
@@ -1,41 +1,10 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    5.1 (Berkeley) %G%
-#
-#
-PRINTER=-Pdp
-TROFF= ditroff ${PRINTER}
-EQN=   deqn ${PRINTER}
-TBL=   dtbl ${PRINTER}
-PIC=   pic ${PRINTER}
-LPR=   lpr -n ${PRINTER}
+#      @(#)Makefile    5.2 (Berkeley) %G%
 
 
-SRC=   op.me
+DIR=   smm/07.sendmailop
+SRCS=  op.me
+MACROS=        -me
 
 
-op: op.out
-       ${LPR} op.out
+paper.${PRINTER}: ${SRCS}
+       ${PIC} ${SRCS} | ${EQN} | ${ROFF} > ${.TARGET}
 
 
-op.out: ${SRC}
-       ${PIC} ${SRC} | ${EQN} | ${TROFF} -t -me > op.out
-
-clean:
-       rm -f op.out op.me.spell errs Errs
-
-spell: ${SRC}
-       @for i in ${SRC}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 7c856b1..8faf60c 100644 (file)
@@ -1,37 +1,10 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    5.2 (Berkeley) %G%
-#
+#      @(#)Makefile    5.3 (Berkeley) %G%
+
+DIR=   smm/16.sendmail
 SRCS=  intro.me
 MACROS=        -me
 SRCS=  intro.me
 MACROS=        -me
-PRINTER=Pdp
-TROFF= ditroff -${PRINTER}
-PIC=   pic -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${PIC} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${PIC} ${SRCS} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 33053f5..6507eb1 100644 (file)
@@ -1,38 +1,11 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    6.2 (Berkeley) %G%
-#
+#      @(#)Makefile    6.3 (Berkeley) %G%
+
+DIR=   smm/22.timed
 SRCS=  timed.ms
 MACROS=        -ms
 PRINTER=Pdp
 SRCS=  timed.ms
 MACROS=        -ms
 PRINTER=Pdp
-SOELIM=        soelim
-TBL=   dtbl -${PRINTER}
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${SOELIM} ${SRCS} | ${TBL} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${SOELIM} ${SRCS} | ${TBL} | ${ROFF} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>
index 3380d27..4b47323 100644 (file)
@@ -1,36 +1,10 @@
-#
-# Copyright (c) 1986 The Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# by the University of California, Berkeley.  The name of the
-# University may not be used to endorse or promote products derived
-# from this software without specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-#
-#      @(#)Makefile    6.2 (Berkeley) %G%
-#
+#      @(#)Makefile    6.3 (Berkeley) %G%
+
+DIR=   smm/08.timedop
 SRCS=  timed.ms
 MACROS=        -ms
 SRCS=  timed.ms
 MACROS=        -ms
-PRINTER=Pdp
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>