]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake docs: use dblatex to build the pdf bitbake manual
authorDarren Hart <dvhart@linux.intel.com>
Wed, 9 Mar 2011 20:55:20 +0000 (12:55 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 May 2011 14:33:16 +0000 (15:33 +0100)
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.

(From Poky rev: b26640f30a4c80fcedda0d19bcf96ed412062a33)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
doc/manual/Makefile

index a43c025455b5e291f419c5695b745579da31cf9d..341ab55e2ca2fa81b13ecb055ba87f42baa293c5 100644 (file)
@@ -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)