summaryrefslogtreecommitdiff
path: root/share/doc/usd
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/usd
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/usd')
-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
6 files changed, 24 insertions, 6 deletions
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>