From 855fda1e565fcc6e87e4a9277b507d350e3ba446 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 16 Mar 2018 16:38:24 +0000 Subject: Makefile: for pdf rendering: - fix the required disk space for LFS-Bootscripts (use lfs-full instead of lfs-html2) - copy the images to RENDERTMP so that they appear in notes/warnings et al git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11385 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 5ed449529..5e0d9136d 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ pdf: validate --stringparam profile.condition pdf \ --output $(RENDERTMP)/lfs-pdf.xml \ stylesheets/lfs-xsl/profile.xsl \ - $(RENDERTMP)/lfs-html2.xml + $(RENDERTMP)/lfs-full.xml @echo "Generating FO file..." $(Q)xsltproc --nonet \ @@ -84,11 +84,10 @@ pdf: validate $(Q)bash pdf-fixups.sh $(RENDERTMP)/lfs-pdf.fo @echo "Generating PDF file..." - $(Q)mkdir -p $(BASEDIR) + $(Q)mkdir -p $(RENDERTMP)/images + $(Q)cp images/*.png $(RENDERTMP)/images - @echo "Copying images to destination..." - $(Q)mkdir -p $(BASEDIR)/images - $(Q)cp images/*.png $(BASEDIR)/images + $(Q)mkdir -p $(BASEDIR) $(Q)fop -q $(RENDERTMP)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 2>fop.log @echo "$(BASEDIR)/$(PDF_OUTPUT) created" -- cgit v1.2.3-54-g00ecf