use xmlint to process include

(cherry picked from commit 71e9df17b671f7ef5742967b25a1ab36ec3dd91b)
This commit is contained in:
Mark Andrews 2016-03-09 11:34:14 +11:00
parent a6f8640ede
commit f2eed65224
2 changed files with 7 additions and 3 deletions

View file

@ -39,21 +39,24 @@ maintainer-clean distclean::
rm -f pkgversion.xml
rm -f noteversion.xml
# use xmllint to process include
notes.html: notes-wrapper.xml notes.xml releaseinfo.xml pkgversion.xml noteversion.xml
expand notes-wrapper.xml | \
expand notes-wrapper.xml | ${XMLLINT} --xinclude - | \
${XSLTPROC} --stringparam generate.toc "" ../xsl/isc-notes-html.xsl - > notes.html
notes.pdf: notes-wrapper.xml notes.xml releaseinfo.xml pkgversion.xml noteversion.xml
${XSLTPROC} ${top_srcdir}/doc/xsl/pre-latex.xsl notes-wrapper.xml | \
${DBLATEX} -c notes.conf -Pdoc.layout="mainmatter" -o notes.pdf -
# use xmllint to process include
Bv9ARM.html: Bv9ARM-book.xml releaseinfo.xml pkgversion.xml noteversion.xml
expand Bv9ARM-book.xml | \
expand Bv9ARM-book.xml | ${XMLLINT} --xinclude - | \
${XSLTPROC} --stringparam root.filename Bv9ARM \
${top_srcdir}/doc/xsl/isc-docbook-chunk.xsl -
# use xmllint to process include
Bv9ARM-all.html: Bv9ARM-book.xml releaseinfo.xml pkgversion.xml noteversion.xml
expand Bv9ARM-book.xml | \
expand Bv9ARM-book.xml | ${XMLLINT} --xinclude - |\
${XSLTPROC} -o Bv9ARM-all.html ../xsl/isc-docbook-html.xsl -
Bv9ARM.pdf: Bv9ARM-book.xml releaseinfo.xml pkgversion.xml noteversion.xml

View file

@ -308,6 +308,7 @@ INSTALL_LIBRARY = @INSTALL_LIBRARY@
###
XSLTPROC = @XSLTPROC@ --novalid --xinclude --nonet
XMLLINT = @XMLLINT@
PERL = @PERL@
LATEX = @LATEX@
PDFLATEX = @PDFLATEX@