aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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