aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Nichilson <dnicholson@linuxfromscratch.org>2007-07-10 19:17:18 +0000
committerDan Nichilson <dnicholson@linuxfromscratch.org>2007-07-10 19:17:18 +0000
commit7d39455701e87667726b2da0a5b8e1218d0546c6 (patch)
treedfb14ddcc8b80df2daca013aee84881d4d82ba37 /Makefile
parent7fbc15c9abc3244aa0b947125911fdc47bb4ee0f (diff)
Make formatting tweaks
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8214 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 3c7221273..9a7110eaf 100644
--- a/Makefile
+++ b/Makefile
@@ -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