Module Name: src Committed By: martin Date: Wed Nov 27 16:07:30 UTC 2019
Modified Files: src/distrib/notes [netbsd-9]: Makefile.inc Log Message: Pull up the following revision: distrib/notes/Makefile.inc 1.47 When creating the TOC file, strip all incoming double quotes, but output quotes around the third arg of the generated Ti macro invocation. This fixes the TOC in non-html output. Pointed out by kre. To generate a diff of this commit: cvs rdiff -u -r1.43.18.3 -r1.43.18.4 src/distrib/notes/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/notes/Makefile.inc diff -u src/distrib/notes/Makefile.inc:1.43.18.3 src/distrib/notes/Makefile.inc:1.43.18.4 --- src/distrib/notes/Makefile.inc:1.43.18.3 Wed Nov 27 13:36:55 2019 +++ src/distrib/notes/Makefile.inc Wed Nov 27 16:07:30 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.43.18.3 2019/11/27 13:36:55 msaitoh Exp $ +# $NetBSD: Makefile.inc,v 1.43.18.4 2019/11/27 16:07:30 martin Exp $ # # Ross Harvey <r...@netbsd.org> @@ -107,7 +107,9 @@ ${TARG}.more: ${SRCS} ${TOC.more} ${DIST # space taken by the TOC itself. # -TOCPROC= 2>&1 >/dev/null | ${TOOL_GREP} -e '^\.Ti ' +TOCPROC= 2>&1 >/dev/null |\ + ${TOOL_SED} -n -e 's/"//g' \ + -e '/^\.Ti/{s/ \([A-Za-z]\)/ "\1/; s/ *$$/"/; p; }' ${TARG}.PostScript.toc: ${SRCS} ${TOOL_GROFF} -dTOC=1 ${ARGS_PS} -mdoc ${MAIN} ${TOCPROC} > $@.tmp