Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/doc/standards/xopen Add a Makefile, as suggested by hu...
details: https://anonhg.NetBSD.org/src/rev/82f50c96df84
branches: trunk
changeset: 473402:82f50c96df84
user: jwise <jwise%NetBSD.org@localhost>
date: Tue Jun 01 16:51:44 1999 +0000
description:
Add a Makefile, as suggested by hubertf. The Makefile cribs brazenly from^W^W^W
is heavily influenced by src/distrib/notes/Makefile.inc, from Ross Harvey.
While here, fix a typo and nuke some trailing spaces, to make mdoc more comfortable.
diffstat:
share/doc/standards/xopen/Makefile | 43 ++++++++++++++++++++++++++++++++++++++
share/doc/standards/xopen/xcu5 | 14 ++++++------
2 files changed, 50 insertions(+), 7 deletions(-)
diffs (90 lines):
diff -r 482797071f68 -r 82f50c96df84 share/doc/standards/xopen/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/doc/standards/xopen/Makefile Tue Jun 01 16:51:44 1999 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 1999/06/01 16:51:44 jwise Exp $
+
+DOCS= xcu5
+.for i in ${DOCS}
+TARGS+= ${i}.ps ${i}.txt ${i}.html ${i}.more
+.endfor
+
+POST_PLAIN= -P-b -P-u -P-o -Tascii
+
+ARGS_PS= ${GFLAGS} -dformat=PostScript
+ARGS_TXT= ${GFLAGS} -dformat=ASCII ${POST_PLAIN}
+ARGS_HTML= ${GFLAGS} -dformat=HTML ${POST_PLAIN} -ww
+ARGS_MORE= ${GFLAGS} -dformat=more -P-h -Tascii
+
+CLEANFILES+=${TARGS}
+
+all: ${TARGS}
+
+.for i in ${DOCS}
+${i}.ps: ${i}
+ groff ${ARGS_PS} -mdoc ${i} > $@
+
+${i}.txt: ${i}
+ groff ${ARGS_TXT} -mdoc ${i} > $@
+
+${i}.html: ${i}
+ groff ${ARGS_HTML} -mdoc2html ${i} > $@
+
+${i}.more: ${i}
+ groff ${ARGS_MORE} -mdoc ${i} > $@
+.endfor
+
+echosrcs! ${SRCS}
+ @echo ${.ALLSRC}
+
+echomore!
+ @echo ${.OBJDIR}/${TARG}.more
+
+# make the "afterdepend" rule happy
+.depend:
+ @touch $@
+
+.include <bsd.doc.mk>
diff -r 482797071f68 -r 82f50c96df84 share/doc/standards/xopen/xcu5
--- a/share/doc/standards/xopen/xcu5 Tue Jun 01 16:48:21 1999 +0000
+++ b/share/doc/standards/xopen/xcu5 Tue Jun 01 16:51:44 1999 +0000
@@ -1,16 +1,16 @@
-.\" $NetBSD: xcu5,v 1.3 1999/06/01 16:48:21 jwise Exp $
+.\" $NetBSD: xcu5,v 1.4 1999/06/01 16:51:44 jwise Exp $
.\"
.\" Copyright (c) 1999 Jim Wise
.\" All rights reserved.
-.\"
+.\"
.\" Permission to use, copy, modify, and distribute this software and
.\" its documentation for any purpose is hereby granted, provided that
.\" the above copyright notice appears in all copies.
-.\"
-.\" The copyrigh holder makes no representations about the suitability of
+.\"
+.\" The copyright holder makes no representations about the suitability of
.\" this software for any purpose. It is provided "as is" without
.\" express or implied warranty.
-.\"
+.\"
.de xopen
.Tn X/Open
..
@@ -403,7 +403,7 @@
.unfinished
.
.\" ---- fc ----
-.Ss fc - process the command history list
+.Ss fc - process the command history list
.unfinished
.
.\" ---- fg ----
@@ -695,7 +695,7 @@
.unfinished
.
.\" ---- spell ----
-.Ss spell - find spelling errors (LEGACY)
+.Ss spell - find spelling errors (LEGACY)
.unfinished
.
.\" ---- split ----
Home |
Main Index |
Thread Index |
Old Index