- Create the Schematron XSLT in the current directory

- Properly clean up after validation
This commit is contained in:
Gabor Kovesdan 2013-06-21 11:38:45 +00:00
parent e8f31bdaa6
commit 194644ff8a
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/db5/; revision=41993

View file

@ -244,9 +244,10 @@ all: ${SRCS} ${_docs}
.if defined(SCHEMATRONS)
.for sch in ${SCHEMATRONS}
schxslts+= ${sch}.xsl
schxslts+= ${sch:C@.*/@@}.xsl
CLEANFILES+= ${sch:C@.*/@@}.xsl
${sch}.xsl: ${sch}
${sch:C@.*/@@}.xsl: ${sch}
${XSLTPROC} --param allow-foreign "true" ${XSLSCH} ${.ALLSRC} > ${.TARGET}
.endfor
.endif