Author: randy
Date: 2012-08-22 10:33:50 -0600 (Wed, 22 Aug 2012)
New Revision: 10536
Modified:
trunk/BOOK/Makefile
Log:
Commented the PDF generation from the Makefile
Modified: trunk/BOOK/Makefile
===================================================================
--- trunk/BOOK/Makefile 2012-08-22 15:29:15 UTC (rev 10535)
+++ trunk/BOOK/Makefile 2012-08-22 16:33:50 UTC (rev 10536)
@@ -10,7 +10,7 @@
RENDERTMP ?= tmp
CHUNK_QUIET = 1
ROOT_ID =
-PDF_OUTPUT = BLFS-BOOK.pdf
+#PDF_OUTPUT = BLFS-BOOK.pdf
NOCHUNKS_OUTPUT = BLFS-BOOK.html
SHELL = /bin/bash
@@ -26,7 +26,8 @@
endif
blfs: html wget-list
-all: blfs nochunks pdf
+#all: blfs nochunks pdf
+all: blfs nochunks
world: all blfs-patch-list dump-commands test-links
html: $(BASEDIR)/index.html
@@ -56,26 +57,26 @@
sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
done;
-pdf: $(BASEDIR)/$(PDF_OUTPUT)
-$(RENDERTMP)/blfs-pdf.xml: $(RENDERTMP)/blfs-full.xml
- @echo "Generating profiled XML for PDF..."
- $(Q)xsltproc --nonet --stringparam profile.condition pdf \
+#pdf: $(BASEDIR)/$(PDF_OUTPUT)
+#$(RENDERTMP)/blfs-pdf.xml: $(RENDERTMP)/blfs-full.xml
+# @echo "Generating profiled XML for PDF..."
+# $(Q)xsltproc --nonet --stringparam profile.condition pdf \
--output $(RENDERTMP)/blfs-pdf.xml stylesheets/lfs-xsl/profile.xsl \
$(RENDERTMP)/blfs-full.xml
-$(RENDERTMP)/blfs-pdf.fo: $(RENDERTMP)/blfs-pdf.xml
- @echo "Generating FO file..."
- $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
+#$(RENDERTMP)/blfs-pdf.fo: $(RENDERTMP)/blfs-pdf.xml
+# @echo "Generating FO file..."
+# $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
--output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl \
$(RENDERTMP)/blfs-pdf.xml
- $(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo
+# $(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo
-$(BASEDIR)/$(PDF_OUTPUT): $(RENDERTMP)/blfs-pdf.fo
- @echo "Generating PDF file..."
- $(Q)if [ ! -e $(BASEDIR) ]; then \
+#$(BASEDIR)/$(PDF_OUTPUT): $(RENDERTMP)/blfs-pdf.fo
+# @echo "Generating PDF file..."
+# $(Q)if [ ! -e $(BASEDIR) ]; then \
mkdir -p $(BASEDIR); \
fi;
- $(Q)fop $(RENDERTMP)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
+# $(Q)fop $(RENDERTMP)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
nochunks: $(BASEDIR)/$(NOCHUNKS_OUTPUT)
$(BASEDIR)/$(NOCHUNKS_OUTPUT): $(RENDERTMP)/blfs-html.xml
@@ -97,8 +98,9 @@
clean:
@echo "Cleaning $(RENDERTMP)"
- $(Q)rm -f $(RENDERTMP)/blfs-{full,html,pdf}.xml
- $(Q)rm -f $(RENDERTMP)/blfs-pdf.fo
+ $(Q)rm -f $(RENDERTMP)/blfs-{full,html}.xml
+# $(Q)rm -f $(RENDERTMP)/blfs-{full,html,pdf}.xml
+# $(Q)rm -f $(RENDERTMP)/blfs-pdf.fo
$(Q)rm -f $(RENDERTMP)/blfs-{patch-list,patches}
$(Q)rmdir $(RENDERTMP) 2>/dev/null || :
@@ -169,5 +171,8 @@
@echo "Validating the book..."
$(Q)xmllint --noout --nonet --xinclude --postvalid index.xml
-.PHONY: blfs all world html pdf nochunks tmpdir clean validxml \
+.PHONY: blfs all world html nochunks tmpdir clean validxml \
profile-html wget-list test-links dump-commands validate
+
+#.PHONY: blfs all world html pdf nochunks tmpdir clean validxml \
+ profile-html wget-list test-links dump-commands validate
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page