Hi all,
when i do a "make pdf" i get
<copy>
bash-3.2$ make pdf
Validating the book...
Generating FO file...
warning: failed to load external entity "tmp/blfs-pdf.xml"
unable to parse tmp/blfs-pdf.xml
make: *** [tmp/blfs-pdf.fo] Fehler 6
bash-3.2$
</copy>
I found that in section $(RENDERTMP)/blfs-pdf.fo the xsltproc command should
read as
$(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
--output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl \
$(RENDERTMP)/blfs-full.xml
instead of
$(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
--output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl \
$(RENDERTMP)/blfs-pdf.xml
When doing that, the whole section "$(RENDERTMP)/blfs-pdf.xml:" becomes
obsolete.
Did I miss something? Can someone verify this?
--
Thomas
Index: Makefile
===================================================================
--- Makefile (Revision 7422)
+++ Makefile (Arbeitskopie)
@@ -55,20 +55,14 @@
sed -i -e "[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]" $$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 \
- --output $(RENDERTMP)/blfs-pdf.xml stylesheets/lfs-xsl/profile.xsl \
- $(RENDERTMP)/blfs-full.xml
-
$(RENDERTMP)/blfs-pdf.fo: $(RENDERTMP)/blfs-full.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
+ $(RENDERTMP)/blfs-full.xml
$(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo
+pdf: $(BASEDIR)/$(PDF_OUTPUT)
$(BASEDIR)/$(PDF_OUTPUT): $(RENDERTMP)/blfs-pdf.fo
@echo "Generating PDF file..."
$(Q)if [ ! -e $(BASEDIR) ]; then \
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page