mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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
This commit is contained in:
parent
27ded23682
commit
855fda1e56
9
Makefile
9
Makefile
@ -71,7 +71,7 @@ pdf: validate
|
|||||||
--stringparam profile.condition pdf \
|
--stringparam profile.condition pdf \
|
||||||
--output $(RENDERTMP)/lfs-pdf.xml \
|
--output $(RENDERTMP)/lfs-pdf.xml \
|
||||||
stylesheets/lfs-xsl/profile.xsl \
|
stylesheets/lfs-xsl/profile.xsl \
|
||||||
$(RENDERTMP)/lfs-html2.xml
|
$(RENDERTMP)/lfs-full.xml
|
||||||
|
|
||||||
@echo "Generating FO file..."
|
@echo "Generating FO file..."
|
||||||
$(Q)xsltproc --nonet \
|
$(Q)xsltproc --nonet \
|
||||||
@ -84,11 +84,10 @@ pdf: validate
|
|||||||
$(Q)bash pdf-fixups.sh $(RENDERTMP)/lfs-pdf.fo
|
$(Q)bash pdf-fixups.sh $(RENDERTMP)/lfs-pdf.fo
|
||||||
|
|
||||||
@echo "Generating PDF file..."
|
@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)
|
||||||
$(Q)mkdir -p $(BASEDIR)/images
|
|
||||||
$(Q)cp images/*.png $(BASEDIR)/images
|
|
||||||
|
|
||||||
$(Q)fop -q $(RENDERTMP)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 2>fop.log
|
$(Q)fop -q $(RENDERTMP)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 2>fop.log
|
||||||
@echo "$(BASEDIR)/$(PDF_OUTPUT) created"
|
@echo "$(BASEDIR)/$(PDF_OUTPUT) created"
|
||||||
|
Loading…
Reference in New Issue
Block a user