aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2018-03-16 16:38:24 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2018-03-16 16:38:24 +0000
commit855fda1e565fcc6e87e4a9277b507d350e3ba446 (patch)
treead3669beb37ccd23f2df871d37ccb8c1e81356e3 /Makefile
parent27ded23682e432b5a1f1dec82bc7ea1fc50e4547 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files 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"