Make formatting tweaks

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8214 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Dan Nichilson 2007-07-10 19:17:18 +00:00
parent 7fbc15c9ab
commit 7d39455701

View File

@ -1,10 +1,10 @@
BASEDIR=~/lfs-book
DUMPDIR=~/lfs-commands
RENDERTMP= $(HOME)/tmp
CHUNK_QUIET=1
ROOT_ID=""
PDF_OUTPUT=LFS-BOOK.pdf
NOCHUNKS_OUTPUT=LFS-BOOK.html
BASEDIR = ~/lfs-book
DUMPDIR = ~/lfs-commands
RENDERTMP = $(HOME)/tmp
CHUNK_QUIET = 1
ROOT_ID =
PDF_OUTPUT = LFS-BOOK.pdf
NOCHUNKS_OUTPUT = LFS-BOOK.html
ifdef V
Q =
@ -15,7 +15,7 @@ endif
lfs: validxml profile-html
@echo "Generating chunked XHTML files..."
$(Q)xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
-stringparam rootid $(ROOT_ID) -stringparam base.dir $(BASEDIR)/ \
-stringparam rootid "$(ROOT_ID)" -stringparam base.dir $(BASEDIR)/ \
stylesheets/lfs-chunked.xsl $(RENDERTMP)/lfs-html.xml
@echo "Copying CSS code and images..."
@ -47,7 +47,7 @@ pdf: validxml
$(RENDERTMP)/lfs-full.xml
@echo "Generating FO file..."
$(Q)xsltproc --nonet -stringparam rootid $(ROOT_ID) \
$(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
--output $(RENDERTMP)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
$(RENDERTMP)/lfs-pdf.xml
$(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/lfs-pdf.fo
@ -60,7 +60,7 @@ pdf: validxml
nochunks: validxml profile-html
@echo "Generating non chunked XHTML file..."
$(Q)xsltproc --nonet -stringparam rootid $(ROOT_ID) \
$(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
--output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
stylesheets/lfs-nochunks.xsl $(RENDERTMP)/lfs-html.xml