- Render pages with the newly added XSLT
- Disable HTML tidy - Remove old comment Approved by: doceng (implicit)
This commit is contained in:
parent
9698a70c1c
commit
5b3709a67c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/sgml2xml/; revision=39211
1 changed files with 3 additions and 11 deletions
|
@ -190,20 +190,12 @@ PREHTML?= ${SED} -e ${DATESUBST} ${BASESUBST}
|
|||
GENDOCS+= ${DOCS:M*.sgml:S/.sgml$/.html/g}
|
||||
ORPHANS:= ${ORPHANS:N*.sgml}
|
||||
|
||||
# XXX: using a pipe between ${PREHTML} and ${SGMLNORM} should be better,
|
||||
# but very strange errors will be reported when using osgmlnorm (from
|
||||
# OpenSP. sgmlnorm works fine). For the moment, we use a temporary file
|
||||
# to prevent it.
|
||||
|
||||
.sgml.html: ${_SGML_INCLUDES}
|
||||
.sgml.html: ${_DEPENDSET.wwwstd} ${DOC_PREFIX}/share/sgml/xhtml.xsl
|
||||
${PREHTML} ${PREHTMLOPTS} ${.IMPSRC} > ${.IMPSRC}-tmp
|
||||
${SETENV} SGML_CATALOG_FILES= \
|
||||
${SGMLNORM} ${SGMLNORMOPTS} ${.IMPSRC}-tmp > ${.TARGET} || \
|
||||
${XMLLINT} ${XMLLINTOPTS} ${.IMPSRC}-tmp
|
||||
${XSLTPROC} ${XSLTPROCOPTS} --debug -o ${.TARGET} ${DOC_PREFIX}/share/sgml/xhtml.xsl ${.IMPSRC}-tmp || \
|
||||
(${RM} -f ${.IMPSRC}-tmp ${.TARGET} && false)
|
||||
${RM} -f ${.IMPSRC}-tmp
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
##################################################################
|
||||
# Special Targets
|
||||
|
|
Loading…
Reference in a new issue