aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2013-02-25 20:19:29 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2013-02-25 20:19:29 +0000
commitd55a546a05b84d5f2be1f80a81cb01a242e4a141 (patch)
treebdb160ebb4b0cb68b920a5afbfcad382245d09fd
parent0701bf45bdd354892469bd3f1ea17ac1db444467 (diff)
downloaddoc-d55a546a05b84d5f2be1f80a81cb01a242e4a141.tar.gz
doc-d55a546a05b84d5f2be1f80a81cb01a242e4a141.zip
- Work around a DocBook XSL bug which lists unexisting files in the
manifest
Notes
Notes: svn path=/projects/xml-tools/; revision=41046
-rw-r--r--share/mk/doc.docbook.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk
index 256182b6ba..83a255e2ce 100644
--- a/share/mk/doc.docbook.mk
+++ b/share/mk/doc.docbook.mk
@@ -698,7 +698,11 @@ install-${_curformat}: ${DOC}.${_curformat}
.endif
@[ -d ${DESTDIR} ] || ${MKDIR} -p ${DESTDIR}
.if ${_cf} == "html-split"
- ${INSTALL_DOCS} $$(${XARGS} < HTML.manifest) ${DESTDIR}
+.for f in ${_html_docs}
+.if exists(${f})
+ ${INSTALL_DOCS} ${f} ${DESTDIR}
+.endif
+.endfor
.else
${INSTALL_DOCS} ${.ALLSRC} ${DESTDIR}
.endif