summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarc Fonvieille <blackend@FreeBSD.org>2013-06-24 08:23:29 +0000
committerMarc Fonvieille <blackend@FreeBSD.org>2013-06-24 08:23:29 +0000
commite0c4e936e0b8d5c60a34c604410107be31e0b8a5 (patch)
treed7ddbaad2aa1008801d34c13b30bc11c93532dfc /share
parentef07afc8b260e544fe534ad556261779ff5322ab (diff)
Fix install-html-split target:
With the current code running "make install" will build the files but will install only 2 files (docbook.css and tramemark.html). Another "make install" is required to get the missing files. This is not the expected behavior. A quick workaround is to run "make && make install", but let's fix the code to get a working "make install". Discussed with: gabor
Notes
svn path=/head/; revision=42023
Diffstat (limited to 'share')
-rw-r--r--share/mk/doc.docbook.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk
index ca494e1628..d95ff6c2fc 100644
--- a/share/mk/doc.docbook.mk
+++ b/share/mk/doc.docbook.mk
@@ -705,11 +705,7 @@ install-${_curformat}: ${DOC}.${_curformat}
.endif
@[ -d ${DESTDIR} ] || ${MKDIR} -p ${DESTDIR}
.if ${_cf} == "html-split"
-.for f in ${_html_docs}
-.if exists(${f})
- ${INSTALL_DOCS} ${f} ${DESTDIR}
-.endif
-.endfor
+ ${INSTALL_DOCS} $$(${XARGS} < HTML.manifest) ${DESTDIR}
.else
${INSTALL_DOCS} ${.ALLSRC} ${DESTDIR}
.endif