Add a knob to trace TeX's memory usage. This is useful when you're

using tons of different macro packages (like we do) and something is
misbehaving. ``make TRACE=1 book.ps''
This commit is contained in:
Murray Stokely 2001-09-17 09:45:01 +00:00
parent 6d47329762
commit 8577fa90a4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10714

View file

@ -1,5 +1,5 @@
#
# $FreeBSD: doc/share/mk/doc.docbook.mk,v 1.48 2001/09/11 00:38:32 murray Exp $
# $FreeBSD: doc/share/mk/doc.docbook.mk,v 1.49 2001/09/11 02:32:32 murray Exp $
#
# This include file <doc.docbook.mk> handles building and installing of
# DocBook documentation in the FreeBSD Documentation Project.
@ -66,6 +66,11 @@
# "N.N.N.N Section title" into "Section Title" while
# higher level sections are still printed with numbers.
#
# TRACE={1,2} Trace TeX's memory usage. Set this to 1 for minimal
# tracing or 2 for maximum tracing. TeX memory
# statistics will be written out to <filename>.log.
# For more information see the TeXbook, p301.
#
# TWO_SIDE If defined, two sided output will be created. This
# means that new chapters will only start on odd
# numbered (aka right side, aka recto) pages and the
@ -146,6 +151,9 @@ PRINTOPTS+= -ioutput.print.niceheaders
.if defined(MIN_SECT_LABELS)
PRINTOPTS+= -V minimal-section-labels
.endif
.if defined(TRACE)
TEXCMDS+= \tracingstats=${TRACE}
.endif
# ------------------------------------------------------------------------
#