- Fix profiling support
This commit is contained in:
parent
8f47ebe252
commit
61e970ba9d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/db5/; revision=43119
1 changed files with 3 additions and 3 deletions
|
@ -259,13 +259,13 @@ ${sch:T}.xsl: ${sch}
|
|||
# Parsed XML -------------------------------------------------------
|
||||
|
||||
${DOC}.parsed.xml: ${SRCS}
|
||||
${XMLLINT} --nonet --noent --valid --dropdtd --xinclude ${MASTERDOC} > ${.TARGET}
|
||||
${XMLLINT} --nonet --noent --valid --dropdtd --xinclude ${MASTERDOC} > ${.TARGET}.tmp
|
||||
.if defined(PROFILING)
|
||||
@${ECHO} "==> Profiling"
|
||||
${XSLTPROC} ${PROFILING} ${XSLPROF} ${.TARGET}.tmp > ${.TARGET}
|
||||
.else
|
||||
${SED} 's|@@URL_RELPREFIX@@|http://www.FreeBSD.org|g' < ${.TARGET} > ${DOC}.parsed.print.xml
|
||||
${SED} -i '' 's|@@URL_RELPREFIX@@|../../../..|g' ${.TARGET}
|
||||
${SED} 's|@@URL_RELPREFIX@@|http://www.FreeBSD.org|g' < ${.TARGET}.tmp > ${DOC}.parsed.print.xml
|
||||
${SED} 's|@@URL_RELPREFIX@@|../../../..|g' < ${.TARGET}.tmp > ${.TARGET}
|
||||
.endif
|
||||
|
||||
# XHTML -------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue