summaryrefslogtreecommitdiff
path: root/share/doc/psd
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/psd
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/psd')
-rw-r--r--share/doc/psd/20.ipctut/Makefile5
-rw-r--r--share/doc/psd/21.ipc/Makefile5
2 files changed, 8 insertions, 2 deletions
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>