From 2624b6181411fe722c73ec95aba9ea8c3d92bca5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 29 Sep 2010 15:26:29 +0100 Subject: poky-doc-tools: Remove unnecessary autotools usage and simplfy structure Signed-off-by: Richard Purdie --- handbook/poky-doc-tools/poky-docbook-to-pdf.in | 49 -------------------------- 1 file changed, 49 deletions(-) delete mode 100644 handbook/poky-doc-tools/poky-docbook-to-pdf.in (limited to 'handbook/poky-doc-tools/poky-docbook-to-pdf.in') diff --git a/handbook/poky-doc-tools/poky-docbook-to-pdf.in b/handbook/poky-doc-tools/poky-docbook-to-pdf.in deleted file mode 100644 index b56aee495..000000000 --- a/handbook/poky-doc-tools/poky-docbook-to-pdf.in +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -if [ -z "$1" ]; then - echo "usage: [-v] $0 " - echo - echo "*NOTE* you need xsltproc, fop and nwalsh docbook stylesheets" - echo " installed for this to work!" - echo - exit 0 -fi - -if [ "$1" = "-v" ]; then - echo "Version @version@" - exit 1 -fi - -BASENAME=`basename $1 .xml` || exit 1 -FO="$BASENAME.fo" -PDF="$BASENAME.pdf" - -## -# 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 \ - @datadir@/common/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 "@datadir@/common/draft.png" \ - --output $FO \ - @datadir@/common/poky-db-pdf.xsl \ - $1 || exit 1 - -fop -c @datadir@/common/fop-config.xml -fo $FO -pdf $PDF || exit 1 - -rm -f $FO -rm -f /tmp/titlepage.xsl - -echo -echo " #### Success! $PDF ready. ####" -echo \ No newline at end of file -- cgit v1.2.3