Add a comment why the more.toc needs to be generated twice.

XXX: Why do the other TOCs get generated twice? We don't need correct
page numbers there...
This commit is contained in:
wiz 2002-06-16 00:30:23 +00:00
parent 983455d349
commit ee9025dec0

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.27 2002/06/15 02:15:54 lukem Exp $
# $NetBSD: Makefile.inc,v 1.28 2002/06/16 00:30:23 wiz Exp $
#
# Ross Harvey <ross@netbsd.org>
@ -80,6 +80,8 @@ ${TARG}.HTML.toc: ${SRCS}
${GROFF} -dTOC=1 ${ARGS_HTML} -mdoc ${MAIN} ${TOCPROC} > $@.tmp
mv -f $@.tmp $@
# needs to be created twice to take into account the space taken
# by the TOC itself
${TARG}.more.toc: ${SRCS}
${GROFF} -dTOC=1 ${ARGS_MORE} -mdoc ${MAIN} ${TOCPROC} > $@.tmp
mv -f $@.tmp $@