- Create the Schematron XSLT in the current directory
- Properly clean up after validation
This commit is contained in:
parent
e8f31bdaa6
commit
194644ff8a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/db5/; revision=41993
1 changed files with 3 additions and 2 deletions
|
@ -244,9 +244,10 @@ all: ${SRCS} ${_docs}
|
||||||
|
|
||||||
.if defined(SCHEMATRONS)
|
.if defined(SCHEMATRONS)
|
||||||
.for sch in ${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}
|
${XSLTPROC} --param allow-foreign "true" ${XSLSCH} ${.ALLSRC} > ${.TARGET}
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
Loading…
Reference in a new issue