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.
This commit is contained in:
Simon L. B. Nielsen 2004-03-24 22:57:56 +00:00
parent 3f9a4c90a7
commit c187df3fbf
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=20416

View file

@ -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"