r5275 - trunk/editor-manual

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Mon May 9 11:31:52 PDT 2005


Author: matthew
Date: 2005-05-09 12:31:52 -0600 (Mon, 09 May 2005)
New Revision: 5275

Modified:
   trunk/editor-manual/Makefile
Log:
Tidied the Makefile up

Modified: trunk/editor-manual/Makefile
===================================================================
--- trunk/editor-manual/Makefile	2005-05-09 18:27:28 UTC (rev 5274)
+++ trunk/editor-manual/Makefile	2005-05-09 18:31:52 UTC (rev 5275)
@@ -1,13 +1,13 @@
-BASEDIR=~/lfs-book
-CHUNK_QUIET=0
-PDF_OUTPUT=LFS-BOOK.pdf
-NOCHUNKS_OUTPUT=LFS-BOOK.html
+BASEDIR=~/lfs-editors-guide
+CHUNK_QUIET=1
+PDF_OUTPUT=LFS-EDITORS-GUIDE.pdf
+NOCHUNKS_OUTPUT=LFS-EDITORS-GUIDE.html
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
 
 lfs:
 	xsltproc --xinclude --nonet -stringparam profile.condition html \
-	-stringparam chunk.quietly $(CHUNK_QUIET)  -stringparam base.dir $(BASEDIR)/ \
-	stylesheets/lfs-chunked.xsl index.xml
+	-stringparam chunk.quietly $(CHUNK_QUIET) -stringparam base.dir \
+	$(BASEDIR)/ stylesheets/lfs-chunked.xsl index.xml
 
 	if [ ! -e $(BASEDIR)/stylesheets ]; then \
 	  mkdir -p $(BASEDIR)/stylesheets; \
@@ -33,17 +33,6 @@
 	  sed -i -e "s at text/html at application/xhtml+xml at g" $$filename; \
 	done;
 
-# Uncomment this for testing and stable versions
-#pdf:
-#	xsltproc --xinclude --nonet --stringparam profile.condition pdf \
-#		--output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml
-#	xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
-#		$(BASEDIR)/lfs-pdf.xml
-#	sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
-#	fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
-#	rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
-
-# Remove this for testing and stable versions
 pdf:
 	xsltproc --xinclude --nonet --output $(BASEDIR)/lfs-pdf.fo \
 		stylesheets/lfs-pdf.xsl index.xml




More information about the lfs-book mailing list