From c187df3fbf1eb5b9bd4ace61aa1a364978c1e7b6 Mon Sep 17 00:00:00 2001 From: "Simon L. B. Nielsen" Date: Wed, 24 Mar 2004 22:57:56 +0000 Subject: [PATCH] Unbreak creation of PDF documents which use PNG images (e.g. articles/console-server), by also copying PNG images to the working directory during PDF build. --- share/mk/doc.docbook.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk index 803651bd85..7ae065e8e0 100644 --- a/share/mk/doc.docbook.mk +++ b/share/mk/doc.docbook.mk @@ -576,7 +576,7 @@ ${DOC}.dvi: ${DOC}.tex ${LOCAL_IMAGES_EPS} .if !target(${DOC}.pdf) ${DOC}.pdf: ${DOC}.tex-pdf ${IMAGES_PDF} -.for _curimage in ${IMAGES_PDF:M*share*} +.for _curimage in ${IMAGES_PDF:M*share*} ${IMAGES_PNG:M*share*} ${CP} -p ${_curimage} ${.CURDIR:H:H}/${_curimage:H:S|${IMAGES_EN_DIR}/||:S|${.CURDIR}||} .endfor @${ECHO} "==> PDFTeX pass 1/3"