summaryrefslogtreecommitdiff
path: root/documentation/tools
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-10-15 13:59:22 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-15 15:07:05 +0100
commit0be66f0e88920d32c071f6776ad6e7c1e2b619a7 (patch)
tree3a572d6468c2e0e81efb68583f2969bf3484cd1a /documentation/tools
parent879ac8fb9f49d41bc2c96735c8a44a4e6342f81c (diff)
downloadopenembedded-core-0be66f0e88920d32c071f6776ad6e7c1e2b619a7.tar.gz
openembedded-core-0be66f0e88920d32c071f6776ad6e7c1e2b619a7.tar.bz2
openembedded-core-0be66f0e88920d32c071f6776ad6e7c1e2b619a7.zip
documentation/tools: Add comments to script
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'documentation/tools')
-rwxr-xr-xdocumentation/tools/poky-docbook-to-pdf4
1 files changed, 3 insertions, 1 deletions
diff --git a/documentation/tools/poky-docbook-to-pdf b/documentation/tools/poky-docbook-to-pdf
index 9ac0b828cf..f55fd278af 100755
--- a/documentation/tools/poky-docbook-to-pdf
+++ b/documentation/tools/poky-docbook-to-pdf
@@ -18,11 +18,13 @@ TEMPLATEDIR=$2
# match your localy installed XSL stylesheets.
XSL_BASE_URI="http://docbook.sourceforge.net/release/xsl/current"
+# Creates a temporary XSL stylesheet based on titlepage.xsl
xsltproc -o /tmp/titlepage.xsl \
--xinclude \
$XSL_BASE_URI/template/titlepage.xsl \
$TEMPLATEDIR/titlepage.templates.xml || exit 1
+# Creates the file needed for FOP
xsltproc --xinclude \
--stringparam hyphenate false \
--stringparam formal.title.placement "figure after" \
@@ -38,7 +40,7 @@ xsltproc --xinclude \
$TEMPLATEDIR/poky-db-pdf.xsl \
$1 || exit 1
-
+# Invokes the Java version of FOP. Uses the additional configuration file common/fop-config.xml
fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
rm -f $FO