svn commit: r42092 - projects/db5/share/mk

Gabor Kovesdan gabor at FreeBSD.org
Sun Jun 30 09:22:49 UTC 2013


Author: gabor
Date: Sun Jun 30 09:22:48 2013
New Revision: 42092
URL: http://svnweb.freebsd.org/changeset/doc/42092

Log:
  - Drop DTD after parsing

Modified:
  projects/db5/share/mk/doc.docbook.mk

Modified: projects/db5/share/mk/doc.docbook.mk
==============================================================================
--- projects/db5/share/mk/doc.docbook.mk	Sun Jun 30 09:21:55 2013	(r42091)
+++ projects/db5/share/mk/doc.docbook.mk	Sun Jun 30 09:22:48 2013	(r42092)
@@ -255,7 +255,7 @@ ${sch:T}.xsl: ${sch}
 # Parsed XML  -------------------------------------------------------
 
 ${DOC}.parsed.xml: ${SRCS}
-	${XMLLINT} --nonet --noent --valid --xinclude ${MASTERDOC} > ${.TARGET}
+	${XMLLINT} --nonet --noent --valid --dropdtd --xinclude ${MASTERDOC} > ${.TARGET}
 .if defined(PROFILING)
 	@${ECHO} "==> Profiling"
 	${XSLTPROC} ${PROFILING} ${XSLPROF} ${.TARGET}.tmp > ${.TARGET}
@@ -377,7 +377,7 @@ ${DOC}.${_curformat}:
 
 lint validate: ${SRCS} ${schxslts}
 	@${ECHO} "==> Basic validation"
-	@${XMLLINT} --nonet --noent --valid --xinclude ${MASTERDOC} > ${DOC}.parsed.xml
+	@${XMLLINT} --nonet --noent --valid --dropdtd --xinclude ${MASTERDOC} > ${DOC}.parsed.xml
 .if defined(schxslts)
 	@${ECHO} "==> Validating with Schematron constraints"
 .for sch in ${schxslts}


More information about the svn-doc-projects mailing list