summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/doc/papers/beyond4.3/Makefile5
-rw-r--r--share/doc/papers/diskperf/Makefile5
-rw-r--r--share/doc/papers/fsinterface/Makefile5
-rw-r--r--share/doc/papers/future/Makefile3
-rw-r--r--share/doc/papers/jus/Makefile3
-rw-r--r--share/doc/papers/kernmalloc/Makefile6
-rw-r--r--share/doc/papers/kerntune/Makefile6
-rw-r--r--share/doc/papers/malloc/Makefile5
-rw-r--r--share/doc/papers/memfs/Makefile4
-rw-r--r--share/doc/papers/newvm/Makefile5
-rw-r--r--share/doc/papers/nqnfs/Makefile5
-rw-r--r--share/doc/papers/px/Makefile5
-rw-r--r--share/doc/papers/relengr/Makefile5
-rw-r--r--share/doc/papers/sysperf/Makefile4
-rw-r--r--share/doc/psd/20.ipctut/Makefile5
-rw-r--r--share/doc/psd/21.ipc/Makefile5
-rw-r--r--share/doc/smm/01.setup/Makefile5
-rw-r--r--share/doc/smm/04.quotas/Makefile5
-rw-r--r--share/doc/smm/05.fastfs/Makefile5
-rw-r--r--share/doc/smm/06.nfs/Makefile5
-rw-r--r--share/doc/smm/09.sendmail/Makefile6
-rw-r--r--share/doc/smm/17.password/Makefile5
-rw-r--r--share/doc/smm/18.net/Makefile5
-rw-r--r--share/doc/usd/01.begin/Makefile5
-rw-r--r--share/doc/usd/02.learn/Makefile5
-rw-r--r--share/doc/usd/17.msmacros/Makefile5
-rw-r--r--share/doc/usd/18.msdiffs/Makefile5
-rw-r--r--share/doc/usd/19.memacros/Makefile5
-rw-r--r--share/doc/usd/20.meref/Makefile5
29 files changed, 115 insertions, 27 deletions
diff --git a/share/doc/papers/beyond4.3/Makefile b/share/doc/papers/beyond4.3/Makefile
index 6f666cb59ed..d76b11422cb 100644
--- a/share/doc/papers/beyond4.3/Makefile
+++ b/share/doc/papers/beyond4.3/Makefile
@@ -1,8 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:14:56 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:44 jmc Exp $
DIR= papers/beyond43
SRCS= beyond43.ms
MACROS= -ms
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/diskperf/Makefile b/share/doc/papers/diskperf/Makefile
index 20880dde532..fc8f4cc1c08 100644
--- a/share/doc/papers/diskperf/Makefile
+++ b/share/doc/papers/diskperf/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:14:56 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:44 jmc Exp $
DIR= papers/diskperf
@@ -9,4 +9,7 @@ MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${TBL} ${SRCS} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/fsinterface/Makefile b/share/doc/papers/fsinterface/Makefile
index 03e8a524f7d..bdcbfdc7755 100644
--- a/share/doc/papers/fsinterface/Makefile
+++ b/share/doc/papers/fsinterface/Makefile
@@ -1,8 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:14:57 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:44 jmc Exp $
DIR= papers/fsinterface
SRCS= fsinterface.ms
MACROS= -ms
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/future/Makefile b/share/doc/papers/future/Makefile
index 2e0c16c746c..10682342fbc 100644
--- a/share/doc/papers/future/Makefile
+++ b/share/doc/papers/future/Makefile
@@ -7,4 +7,7 @@ MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${TBL} ${SRCS} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/jus/Makefile b/share/doc/papers/jus/Makefile
index f9bb1576932..064be7e3602 100644
--- a/share/doc/papers/jus/Makefile
+++ b/share/doc/papers/jus/Makefile
@@ -4,4 +4,7 @@ DIR= papers/jus
SRCS= paper.ms
MACROS= -ms
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/kernmalloc/Makefile b/share/doc/papers/kernmalloc/Makefile
index cf43bc26e47..5148ba417f0 100644
--- a/share/doc/papers/kernmalloc/Makefile
+++ b/share/doc/papers/kernmalloc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:14:57 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:44 jmc Exp $
DIR= papers/kernmalloc
@@ -9,4 +9,8 @@ paper.ps: ${SRCS} alloc.fig usage.tbl
${SOELIM} ${SRCS} | ${TBL} | ${PIC} | ${EQN} | ${GRIND} | \
${ROFF} > ${.TARGET}
+paper.txt: ${SRCS} alloc.fig usage.tbl
+ ${SOELIM} ${SRCS} | ${TBL} | ${PIC} | ${EQN} | ${GRIND} | \
+ ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/kerntune/Makefile b/share/doc/papers/kerntune/Makefile
index 8069884760f..a2c10c2d9fa 100644
--- a/share/doc/papers/kerntune/Makefile
+++ b/share/doc/papers/kerntune/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:14:58 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:44 jmc Exp $
DIR= papers/kerntune
@@ -8,4 +8,8 @@ MACROS= -ms
paper.ps: ${SRCS}
${SOELIM} ${SRCS} | ${PIC} | ${TBL} | ${EQN} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${SOELIM} ${SRCS} | ${PIC} | ${TBL} | ${EQN} | \
+ ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/malloc/Makefile b/share/doc/papers/malloc/Makefile
index d3561a3a1c3..a9553dfc98f 100644
--- a/share/doc/papers/malloc/Makefile
+++ b/share/doc/papers/malloc/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 6.3 (Berkeley) 6/8/93
-# $OpenBSD: Makefile,v 1.2 1997/01/05 22:18:05 tholo Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:44 jmc Exp $
VOLUME= papers
DOC= malloc
@@ -7,6 +7,9 @@ SRCS= abs.ms intro.ms kernel.ms malloc.ms problems.ms alternatives.ms
SRCS+= performance.ms implementation.ms conclusion.ms
MACROS= -ms
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
edit:
vi ${SRCS}
diff --git a/share/doc/papers/memfs/Makefile b/share/doc/papers/memfs/Makefile
index b8b61acaf5b..d6ecf22189f 100644
--- a/share/doc/papers/memfs/Makefile
+++ b/share/doc/papers/memfs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:14:58 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:44 jmc Exp $
DIR= papers/memfs
@@ -10,6 +10,8 @@ CLEANFILES=ref.bib.i A.gt paper.t
paper.ps: paper.t
${ROFF} tmac.srefs paper.t > ${.TARGET}
+paper.txt: paper.t
+ ${ROFF} -Tascii tmac.srefs paper.t > ${.TARGET}
paper.t: ${SRCS} ref.bib.i A.gt
${REFER} ${SRCS} A.gt > ${.TARGET}
diff --git a/share/doc/papers/newvm/Makefile b/share/doc/papers/newvm/Makefile
index b968928f0c4..bec913a4d04 100644
--- a/share/doc/papers/newvm/Makefile
+++ b/share/doc/papers/newvm/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:14:59 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:44 jmc Exp $
DIR= papers/newvm
@@ -8,4 +8,7 @@ MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${TBL} ${SRCS} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/nqnfs/Makefile b/share/doc/papers/nqnfs/Makefile
index 5b492713275..7a8e6c46364 100644
--- a/share/doc/papers/nqnfs/Makefile
+++ b/share/doc/papers/nqnfs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:14:59 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= papers/nqnfs
@@ -8,4 +8,7 @@ MACROS= -me
paper.ps: ${SRCS}
${PIC} ${SRCS} | ${TBL} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${PIC} ${SRCS} | ${TBL} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/px/Makefile b/share/doc/papers/px/Makefile
index d83f1517614..2fef10c3acf 100644
--- a/share/doc/papers/px/Makefile
+++ b/share/doc/papers/px/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:14:59 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= papers/px
@@ -11,6 +11,9 @@ CLEANFILES+=fig2.3.n
paper.ps: ${SRCS} fig2.3.n
${SOELIM} ${SRCS} | ${TBL} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS} fig2.3.n
+ ${SOELIM} ${SRCS} | ${TBL} | ${ROFF} -Tascii > ${.TARGET}
+
fig2.3.n: fig2.3.raw
sort fig2.3.raw >fig2.3.n
diff --git a/share/doc/papers/relengr/Makefile b/share/doc/papers/relengr/Makefile
index 0cf8926c9aa..656d9c38c6b 100644
--- a/share/doc/papers/relengr/Makefile
+++ b/share/doc/papers/relengr/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:01 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= papers/relengr
@@ -10,4 +10,7 @@ REFER= refer -n -e -l -s -p ref.bib
paper.ps: ${SRCS}
${REFER} ${SRCS} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${REFER} ${SRCS} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/papers/sysperf/Makefile b/share/doc/papers/sysperf/Makefile
index c8f4cc81a77..79f75770a79 100644
--- a/share/doc/papers/sysperf/Makefile
+++ b/share/doc/papers/sysperf/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:02 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= papers/sysperf
@@ -10,6 +10,8 @@ CLEANFILES+=${OBJS}
paper.ps: ${OBJS}
${ROFF} ${OBJS} > ${.TARGET}
+paper.txt: ${OBJS}
+ ${ROFF} -Tascii ${OBJS} > ${.TARGET}
paper.tmp: ${SRCS}
${TBL} ${SRCS} | ${EQN} > paper.tmp
diff --git a/share/doc/psd/20.ipctut/Makefile b/share/doc/psd/20.ipctut/Makefile
index ae8da4cb6bd..9efbe0d1773 100644
--- a/share/doc/psd/20.ipctut/Makefile
+++ b/share/doc/psd/20.ipctut/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:04 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= psd/20.ipctut
@@ -11,4 +11,7 @@ EXTRA= dgramread.c dgramsend.c fig2.pic fig3.pic fig8.pic pipe.c \
paper.ps: ${SRCS} ${EXTRA}
${SOELIM} ${SRCS} | ${PIC} | ${TBL} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS} ${EXTRA}
+ ${SOELIM} ${SRCS} | ${PIC} | ${TBL} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/psd/21.ipc/Makefile b/share/doc/psd/21.ipc/Makefile
index 80dbf4ea90a..3e32259391a 100644
--- a/share/doc/psd/21.ipc/Makefile
+++ b/share/doc/psd/21.ipc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:06 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= psd/21.ipc
@@ -8,4 +8,7 @@ MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${TBL} ${SRCS} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/smm/01.setup/Makefile b/share/doc/smm/01.setup/Makefile
index 96f939987d7..d001037f516 100644
--- a/share/doc/smm/01.setup/Makefile
+++ b/share/doc/smm/01.setup/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2001/02/03 08:15:07 niklas Exp $
+# $OpenBSD: Makefile,v 1.4 2004/02/01 14:22:45 jmc Exp $
DIR= smm/01.setup
@@ -9,6 +9,9 @@ MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${TBL} ${SRCS} | ${ROFF} -Tascii > ${.TARGET}
+
install: ${SRCS}
install -c -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
Makefile ${FILES} ${EXTRA} ${DESTDIR}${DOCDIR}/${DIR}
diff --git a/share/doc/smm/04.quotas/Makefile b/share/doc/smm/04.quotas/Makefile
index 004c0d9823d..475d172278e 100644
--- a/share/doc/smm/04.quotas/Makefile
+++ b/share/doc/smm/04.quotas/Makefile
@@ -1,8 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:07 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= smm/04.quotas
SRCS= quotas.ms
MACROS= -ms
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/smm/05.fastfs/Makefile b/share/doc/smm/05.fastfs/Makefile
index 580b1cbade4..30c7574d66a 100644
--- a/share/doc/smm/05.fastfs/Makefile
+++ b/share/doc/smm/05.fastfs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:08 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= smm/05.fastfs
@@ -8,4 +8,7 @@ MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${EQN} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${TBL} ${SRCS} | ${EQN} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/smm/06.nfs/Makefile b/share/doc/smm/06.nfs/Makefile
index 934a7a2a350..ac2c14a6f5b 100644
--- a/share/doc/smm/06.nfs/Makefile
+++ b/share/doc/smm/06.nfs/Makefile
@@ -1,8 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:08 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= smm/06.nfs
SRCS= 0.t 1.t 2.t ref.t
MACROS= -me
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/smm/09.sendmail/Makefile b/share/doc/smm/09.sendmail/Makefile
index eae0daddfe6..0c982f93ca1 100644
--- a/share/doc/smm/09.sendmail/Makefile
+++ b/share/doc/smm/09.sendmail/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:08 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= smm/09.sendmail
@@ -11,4 +11,8 @@ intro.ps: ${SRCS}
rm -f ${.TARGET}
${PIC} ${SRCS} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ rm -f ${.TARGET}
+ ${PIC} ${SRCS} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/smm/17.password/Makefile b/share/doc/smm/17.password/Makefile
index 442de7b9ca3..5ca01c3cc78 100644
--- a/share/doc/smm/17.password/Makefile
+++ b/share/doc/smm/17.password/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2003/11/10 20:32:17 otto Exp $
+# $OpenBSD: Makefile,v 1.2 2004/02/01 14:22:45 jmc Exp $
DIR= smm/17.password
SRCS= password.ms
@@ -7,4 +7,7 @@ MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${EQN} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${TBL} ${SRCS} | ${EQN} -Tascii | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/smm/18.net/Makefile b/share/doc/smm/18.net/Makefile
index b4fa9be75dd..3addbcae956 100644
--- a/share/doc/smm/18.net/Makefile
+++ b/share/doc/smm/18.net/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:09 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= smm/18.net
@@ -8,4 +8,7 @@ MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${TBL} ${SRCS} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/usd/01.begin/Makefile b/share/doc/usd/01.begin/Makefile
index b6e463a9186..898bf54e92e 100644
--- a/share/doc/usd/01.begin/Makefile
+++ b/share/doc/usd/01.begin/Makefile
@@ -1,7 +1,10 @@
-# $OpenBSD: Makefile,v 1.2 2003/08/09 09:00:14 jmc Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= usd/01.begin
SRCS= u.mac u0 u1 u2 u3 u4 u5
MACROS= -ms
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/usd/02.learn/Makefile b/share/doc/usd/02.learn/Makefile
index 1375c5f6f8a..8d04fdbb7ec 100644
--- a/share/doc/usd/02.learn/Makefile
+++ b/share/doc/usd/02.learn/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 1998/09/20 23:11:04 ian Exp $
+# $OpenBSD: Makefile,v 1.2 2004/02/01 14:22:45 jmc Exp $
# @(#) This version did not come via Berkeley, but direct from Bell Labs.
DIR= usd/02.learn
@@ -9,4 +9,7 @@ MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${TBL} ${SRCS} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/usd/17.msmacros/Makefile b/share/doc/usd/17.msmacros/Makefile
index 582fd04d7a1..8413714be2b 100644
--- a/share/doc/usd/17.msmacros/Makefile
+++ b/share/doc/usd/17.msmacros/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2003/08/09 09:00:14 jmc Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:45 jmc Exp $
DIR= usd/17.msmacros
SRCS= ms fig1.pic
@@ -7,4 +7,7 @@ MACROS= -ms
paper.ps: ${SRCS}
${SOELIM} ${SRCS} | ${PIC} | ${TBL} | ${ROFF} > ${.TARGET}
+paper.txt: ${SRCS}
+ ${SOELIM} ${SRCS} | ${PIC} | ${TBL} | ${ROFF} -Tascii > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/usd/18.msdiffs/Makefile b/share/doc/usd/18.msdiffs/Makefile
index 1dd201bd3f5..1d09f8b77ac 100644
--- a/share/doc/usd/18.msdiffs/Makefile
+++ b/share/doc/usd/18.msdiffs/Makefile
@@ -1,8 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:10 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:46 jmc Exp $
DIR= usd/18.msdiffs
SRCS= ms.diffs
MACROS= -ms
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/usd/19.memacros/Makefile b/share/doc/usd/19.memacros/Makefile
index fbd5021afa6..9a2bd93ac89 100644
--- a/share/doc/usd/19.memacros/Makefile
+++ b/share/doc/usd/19.memacros/Makefile
@@ -1,8 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:10 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:46 jmc Exp $
DIR= usd/19.memacros
SRCS= intro.me
MACROS= -me
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
.include <bsd.doc.mk>
diff --git a/share/doc/usd/20.meref/Makefile b/share/doc/usd/20.meref/Makefile
index 69051f7aeab..c2eed62af38 100644
--- a/share/doc/usd/20.meref/Makefile
+++ b/share/doc/usd/20.meref/Makefile
@@ -1,8 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2001/02/03 08:15:11 niklas Exp $
+# $OpenBSD: Makefile,v 1.3 2004/02/01 14:22:46 jmc Exp $
DIR= usd/20.meref
SRCS= ref.me
MACROS= -me
+paper.txt: ${SRCS}
+ ${ROFF} -Tascii ${SRCS} > ${.TARGET}
+
.include <bsd.doc.mk>