Use URI to specify xhtml.xsl.
This commit is contained in:
parent
4e2791d8a9
commit
5e44b57891
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43196
1 changed files with 5 additions and 3 deletions
|
@ -130,12 +130,14 @@ ORPHANS:= ${ORPHANS:N*.xml}
|
|||
.if defined(PREHTML)
|
||||
${PREHTML} ${PREHTMLOPTS} ${.IMPSRC} > ${.IMPSRC}-tmp
|
||||
${XMLLINT} ${XMLLINTOPTS} ${.IMPSRC}-tmp
|
||||
${XSLTPROC} ${XSLTPROCOPTS} --debug -o ${.TARGET} ${DOC_PREFIX}/share/xml/xhtml.xsl ${.IMPSRC}-tmp || \
|
||||
(${RM} -f ${.IMPSRC}-tmp ${.TARGET} && false)
|
||||
${XSLTPROC} ${XSLTPROCOPTS} --debug -o ${.TARGET} \
|
||||
http://www.FreeBSD.org/XML/share/xml/xhtml.xsl ${.IMPSRC}-tmp || \
|
||||
(${RM} -f ${.IMPSRC}-tmp ${.TARGET} && false)
|
||||
${RM} -f ${.IMPSRC}-tmp
|
||||
.else
|
||||
${XMLLINT} ${XMLLINTOPTS} ${.IMPSRC}
|
||||
${XSLTPROC} ${XSLTPROCOPTS} --debug -o ${.TARGET} ${DOC_PREFIX}/share/xml/xhtml.xsl ${.IMPSRC}
|
||||
${XSLTPROC} ${XSLTPROCOPTS} --debug -o ${.TARGET} \
|
||||
http://www.FreeBSD.org/XML/share/xml/xhtml.xsl ${.IMPSRC}
|
||||
.endif
|
||||
|
||||
##################################################################
|
||||
|
|
Loading…
Reference in a new issue