diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk index 29ec14a95b..84535f7742 100644 --- a/share/mk/doc.docbook.mk +++ b/share/mk/doc.docbook.mk @@ -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 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 .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 # ------------------------------------------------------------------------ #