FreeBSD Bugzilla – Attachment 36978 Details for
Bug 59044
[patch] doc.docbook.mk does not properly handle a source document already in XML format.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
docbook.patch
docbook.patch (text/plain), 1.33 KB, created by
Mike Edenfield
on 2003-11-07 22:40:09 UTC
(
hide
)
Description:
docbook.patch
Filename:
MIME Type:
Creator:
Mike Edenfield
Created:
2003-11-07 22:40:09 UTC
Size:
1.33 KB
patch
obsolete
>--- doc.docbook.mk.orig Thu Oct 2 15:46:49 2003 >+++ doc.docbook.mk Fri Nov 7 17:19:50 2003 >@@ -349,7 +349,11 @@ > .endif > > .if (${STYLESHEET_TYPE} == "xsl") >+.if ${DOCBOOKSUFFIX} != "xml" > CLEANFILES+= ${DOC}.xml .sxerr >+.else >+CLEANFILE+= .sxerr >+.endif > .endif > > .if (${LOCAL_CSS_SHEET} != ${CSS_SHEET}) && \ >@@ -421,10 +425,14 @@ > # > # Better approaches to handling this would be most welcome > >+# If our master doc is already ${DOC}.xml then we don't need this next >+# part. In fact, it causes a circular graph reference. >+.if ${DOCBOOKSUFFIX} != "xml" > ${DOC}.xml: ${SRCS} > echo '<!DOCTYPE book SYSTEM "/usr/local/share/xml/docbook/4.2/docbookx.dtd">' > ${DOC}.xml > ${SX} -xlower -xndata ${MASTERDOC} 2> .sxerr | tail -n +2 >> ${DOC}.xml > @-grep -v 'reference to internal SDATA entity' .sxerr >+.endif > > # HTML-SPLIT ------------------------------------------------------------- > >@@ -436,8 +444,8 @@ > .elif ${STYLESHEET_TYPE} == "xsl" > index.html: ${DOC}.xml ${LOCAL_IMAGES_LIB} ${LOCAL_IMAGES_PNG} \ > ${INDEX_SGML} ${HTML_SPLIT_INDEX} ${LOCAL_CSS_SHEET} >- ${XSLTPROC} --param freebsd.output.html.images "'1'" ${XSLHTMLCHUNK} \ >- ${DOC}.xml >+ ${XSLTPROC} --param generate.manifest "'1'" --param freebsd.output.html.images "'1'" \ >+ ${XSLHTMLCHUNK} ${DOC}.xml > .endif > .if !defined(NO_TIDY) > -${TIDY} ${TIDYOPTS} $$(${XARGS} < HTML.manifest)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59044
: 36978