Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/distrib/notes Pull up revision 1.30 (requested by lukem):
details: https://anonhg.NetBSD.org/src/rev/f84c005f47bd
branches: netbsd-1-6
changeset: 528487:f84c005f47bd
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Jul 21 00:50:10 2002 +0000
description:
Pull up revision 1.30 (requested by lukem):
add back comment lost in previous revision
diffstat:
distrib/notes/Makefile.inc | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (46 lines):
diff -r 509d70ee362b -r f84c005f47bd distrib/notes/Makefile.inc
--- a/distrib/notes/Makefile.inc Sun Jul 21 00:49:42 2002 +0000
+++ b/distrib/notes/Makefile.inc Sun Jul 21 00:50:10 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.26.2.3 2002/07/20 07:02:46 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.26.2.4 2002/07/21 00:50:10 lukem Exp $
#
# Ross Harvey <ross%netbsd.org@localhost>
@@ -7,6 +7,7 @@
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
# Whether or not to regenerate tables of contents
+#
MKTOCS?=yes
M?= ${.CURDIR:T}
@@ -45,6 +46,7 @@
TOC.more= ${TOCS:M*.more.*}
.endif
+
${TARG}.ps: ${SRCS} ${TOC.ps}
${GROFF} ${ARGS_PS} -mdoc ${MAIN} > $@
@@ -60,6 +62,12 @@
${TARG}.more: ${SRCS} ${TOC.more}
${GROFF} ${ARGS_MORE} -mdoc ${MAIN} > $@
+
+# Rules to build the table of contents (.toc) files.
+# They are generated twice to take into account the
+# space taken by the TOC itself.
+#
+
TOCPROC= 2>&1 >/dev/null |\
sed -n '/^\.Ti/{s/ \([A-Za-z]\)/ "\1/; s/ *$$/"/; p; }'
@@ -87,6 +95,7 @@
${GROFF} -dTOC=1 ${ARGS_MORE} -mdoc ${MAIN} ${TOCPROC} > $@.tmp
mv -f $@.tmp $@
+
release: check_RELEASEDIR .WAIT ${TARGS}
${RELEASE_INSTALL} ${TARGS} ${RELEASEDIR}/.
Home |
Main Index |
Thread Index |
Old Index