summaryrefslogtreecommitdiff
path: root/handbook/tools
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-10-15 11:55:59 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-15 11:55:59 +0100
commit22083287912ebd552e33b79f7c567bc966376d43 (patch)
treea16fa012a97a249e25a405d4092b0a89321bfaf6 /handbook/tools
parent13a702e9e572a2dc9f6b52a1531a2237d4d98ff1 (diff)
downloadopenembedded-core-22083287912ebd552e33b79f7c567bc966376d43.tar.gz
openembedded-core-22083287912ebd552e33b79f7c567bc966376d43.tar.bz2
openembedded-core-22083287912ebd552e33b79f7c567bc966376d43.tar.xz
openembedded-core-22083287912ebd552e33b79f7c567bc966376d43.zip
handbook: Move into documentation directory
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'handbook/tools')
-rwxr-xr-xhandbook/tools/poky-docbook-to-pdf45
1 files changed, 0 insertions, 45 deletions
diff --git a/handbook/tools/poky-docbook-to-pdf b/handbook/tools/poky-docbook-to-pdf
deleted file mode 100755
index 8e3d7542f..000000000
--- a/handbook/tools/poky-docbook-to-pdf
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-
-if [ -z "$1" -o -z "$2" ]; then
- echo "usage: [-v] $0 <docbook file> <templatedir>"
- echo
- echo "*NOTE* you need xsltproc, fop and nwalsh docbook stylesheets"
- echo " installed for this to work!"
- echo
- exit 0
-fi
-
-BASENAME=`basename $1 .xml` || exit 1
-FO="$BASENAME.fo"
-PDF="$BASENAME.pdf"
-TEMPLATEDIR=$2
-
-##
-# These URI should be rewritten by your distribution's xml catalog to
-# match your localy installed XSL stylesheets.
-XSL_BASE_URI="http://docbook.sourceforge.net/release/xsl/current"
-
-xsltproc -o /tmp/titlepage.xsl \
- --xinclude \
- $XSL_BASE_URI/template/titlepage.xsl \
- $TEMPLATEDIR/titlepage.templates.xml || exit 1
-
-xsltproc --xinclude \
- --stringparam hyphenate false \
- --stringparam formal.title.placement "figure after" \
- --stringparam ulink.show 1 \
- --stringparam body.font.master 9 \
- --stringparam title.font.master 11 \
- --stringparam draft.watermark.image "$TEMPLATEDIR/draft.png" \
- --output $FO \
- $TEMPLATEDIR/poky-db-pdf.xsl \
- $1 || exit 1
-
-fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
-
-rm -f $FO
-rm -f /tmp/titlepage.xsl
-
-echo
-echo " #### Success! $PDF ready. ####"
-echo