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