aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2018-02-18 03:55:42 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2018-02-18 03:55:42 +0000
commite8a2adc34503e793ef3432f24835469b4308413d (patch)
tree1cc71f7796fb568dad83abf5a98d25724bf6c9c6 /Makefile
parent60d91a060a974331bac46d2be402e027eead1893 (diff)
Fix image generation in PDF output.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11372 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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"