svn commit: r43119 - projects/db5/share/mk
Gabor Kovesdan
gabor at FreeBSD.org
Thu Nov 7 12:44:12 UTC 2013
Author: gabor
Date: Thu Nov 7 12:44:11 2013
New Revision: 43119
URL: http://svnweb.freebsd.org/changeset/doc/43119
Log:
- Fix profiling support
Modified:
projects/db5/share/mk/doc.docbook.mk
Modified: projects/db5/share/mk/doc.docbook.mk
==============================================================================
--- projects/db5/share/mk/doc.docbook.mk Thu Nov 7 12:39:24 2013 (r43118)
+++ projects/db5/share/mk/doc.docbook.mk Thu Nov 7 12:44:11 2013 (r43119)
@@ -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 -------------------------------------------------------------
More information about the svn-doc-projects
mailing list