Subversion Repositories svn LFS-FR

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7371 jlepiller 1
pdf: validate
2
	@echo "Generating profiled XML for PDF..."
3
	$(Q)xsltproc --nonet \
4
                --stringparam profile.condition pdf \
5
                --output $(RENDERTMP)/blfs-pdf.xml   \
6
                stylesheets/lfs-xsl/profile.xsl     \
7
                $(RENDERTMP)/blfs-html2.xml
8
	@echo "Generating FO file..."
9
	$(Q)xsltproc --nonet                           \
10
                 --stringparam rootid "$(ROOT_ID)" \
11
                 --output $(RENDERTMP)/blfs-pdf.fo  \
12
                 stylesheets/blfs-pdf.xsl           \
13
                 $(RENDERTMP)/blfs-pdf.xml
14
	$(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo
15
	$(Q)cp -r images/ $(RENDERTMP)/
16
	@echo "Generating PDF file..."
17
	$(Q)fop -q  $(RENDERTMP)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 2>fop.log
18
	@echo "$(BASEDIR)/$(PDF_OUTPUT) created"
19
	@echo "fop.log created"
20
 
21
# Not included: before Genration PDF file...
22
#$(Q)bash pdf-fixups.sh $(RENDERTMP)/blfs-pdf.fo