r1188 - trunk/BOOK

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Tue Jul 10 12:20:47 PDT 2007


Author: manuel
Date: 2007-07-10 13:20:47 -0600 (Tue, 10 Jul 2007)
New Revision: 1188

Modified:
   trunk/BOOK/Makefile
Log:
Make formatting tweaks

Modified: trunk/BOOK/Makefile
===================================================================
--- trunk/BOOK/Makefile	2007-07-10 19:07:57 UTC (rev 1187)
+++ trunk/BOOK/Makefile	2007-07-10 19:20:47 UTC (rev 1188)
@@ -1,12 +1,12 @@
-BASEDIR=~/hlfs-book
-RENDERTMP= $(HOME)/tmp
-CHUNK_QUIET=1
-ROOT_ID=""
+BASEDIR = ~/hlfs-book
+RENDERTMP = $(HOME)/tmp
+CHUNK_QUIET = 1
+ROOT_ID =
 
 # This variables don't should be overwritten by command line
-DUMPDIR=$(BASEDIR)/$(LIBC)-$(KERNEL)-commands
-PDF_OUTPUT=HLFS-BOOK-$(LIBC)-$(KERNEL).pdf
-NOCHUNKS_OUTPUT=HLFS-BOOK-$(LIBC)-$(KERNEL).html
+DUMPDIR = $(BASEDIR)/$(LIBC)-$(KERNEL)-commands
+PDF_OUTPUT = HLFS-BOOK-$(LIBC)-$(KERNEL).pdf
+NOCHUNKS_OUTPUT = HLFS-BOOK-$(LIBC)-$(KERNEL).html
 
 ifdef V
   Q =
@@ -91,7 +91,7 @@
 
 	@echo "Generating chunked XHTML files..."
 	$(Q)xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
-	  -stringparam rootid $(ROOT_ID) \
+	  -stringparam rootid "$(ROOT_ID)" \
 	  -stringparam base.dir $(BASEDIR)/$(LIBC)-$(KERNEL)/ \
 	  stylesheets/hlfs-chunked.xsl $(RENDERTMP)/hlfs-html.xml
 
@@ -135,7 +135,7 @@
 	  stylesheets/lfs-xsl/profile.xsl $(RENDERTMP)/hlfs-full.xml
 
 	@echo "Generating FO file..."
-	$(Q)xsltproc --nonet -stringparam rootid $(ROOT_ID) \
+	$(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
 	  --output $(RENDERTMP)/hlfs-pdf.fo stylesheets/hlfs-pdf.xsl \
 	  $(RENDERTMP)/hlfs-pdf.xml
 	$(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/hlfs-pdf.fo
@@ -162,7 +162,7 @@
 	  stylesheets/lfs-xsl/profile.xsl $(RENDERTMP)/hlfs-full.xml
 
 	@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/hlfs-nochunks.xsl $(RENDERTMP)/hlfs-html.xml
 




More information about the hlfs-book mailing list