From e8a2adc34503e793ef3432f24835469b4308413d Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Sun, 18 Feb 2018 03:55:42 +0000 Subject: [PATCH] Fix image generation in PDF output. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11372 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index d203c4086..5ed449529 100644 --- a/Makefile +++ b/Makefile @@ -86,6 +86,10 @@ pdf: validate @echo "Generating PDF file..." $(Q)mkdir -p $(BASEDIR) + @echo "Copying images to destination..." + $(Q)mkdir -p $(BASEDIR)/images + $(Q)cp images/*.png $(BASEDIR)/images + $(Q)fop -q $(RENDERTMP)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 2>fop.log @echo "$(BASEDIR)/$(PDF_OUTPUT) created" @echo "fop.log created"