summaryrefslogtreecommitdiff
path: root/share/doc/papers
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-02-01 14:22:47 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-02-01 14:22:47 +0000
commitd83da8dd86167d70c17caee90905037aa7c9a050 (patch)
tree2f0448f32de7c73940b0e24c2b6d839148f6c9e4 /share/doc/papers
parentf295be55c9122b9f0eac259a4fb6faa4aa309634 (diff)
add paper.txt target: now you can run `make paper.txt' to build an ASCII
version of the doc; CAVEATS: - some characters are not displayable as ascii and generate a warning (until i get a chance to fix it) - i haven't had a chance to put a nice left hand margin in the text versions yet - postscript output still looks much nicer
Diffstat (limited to 'share/doc/papers')
-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
14 files changed, 54 insertions, 12 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