From e0c4e936e0b8d5c60a34c604410107be31e0b8a5 Mon Sep 17 00:00:00 2001 From: Marc Fonvieille Date: Mon, 24 Jun 2013 08:23:29 +0000 Subject: 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 --- share/mk/doc.docbook.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'share') 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 -- cgit v1.3