[poky] [PATCH] bitbake docs: use dblatex to build the pdf bitbake manual

Darren Hart dvhart at linux.intel.com
Wed Mar 9 13:32:59 PST 2011


From: Darren Hart <dvhart at linux.intel.com>

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: dvhart/doc
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/doc

Thanks,
    Darren Hart <dvhart at linux.intel.com>

Darren Hart (1):
  bitbake docs: use dblatex to build the pdf bitbake manual

 bitbake/doc/manual/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Fix [BUGID #593]

The current manual build fails for printing formats which use latex as an
intermediate format. This bug has been reported in multiple locations and I
haven't found a solution posted to any of them.

Using --with-dblatex uses dblatex to make the conversion and successfully
generates the pdf. It adds a dependency on dblatex and its dependencies.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
CC: Joshua Lock <josh at linux.intel.com>
---
 bitbake/doc/manual/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bitbake/doc/manual/Makefile b/bitbake/doc/manual/Makefile
index a43c025..341ab55 100644
--- a/bitbake/doc/manual/Makefile
+++ b/bitbake/doc/manual/Makefile
@@ -45,7 +45,7 @@ endif
 	$(call command,xsltproc --stringparam base.dir $@/ $(if $(htmlcssfile),--stringparam html.stylesheet $(htmlcssfile)) $(htmlxsl) $(manual),XSLTPROC $@ $(manual))
 
 $(xmltotypes): $(manual)
-	$(call command,xmlto --extensions -o $(topdir)/$@ $@ $(manual),XMLTO $@ $(manual))
+	$(call command,xmlto --with-dblatex --extensions -o $(topdir)/$@ $@ $(manual),XMLTO $@ $(manual))
 
 clean:
 	rm -rf $(cleanfiles)
-- 
1.7.1




More information about the poky mailing list