You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jo...@apache.org on 2010/03/13 00:30:28 UTC
svn commit: r922453 - /qpid/trunk/qpid/doc/book/build.sh
Author: jonathan
Date: Fri Mar 12 23:30:28 2010
New Revision: 922453
URL: http://svn.apache.org/viewvc?rev=922453&view=rev
Log:
Simple shell script for building PDF - will be replaced by an ANT file.
Added:
qpid/trunk/qpid/doc/book/build.sh (with props)
Added: qpid/trunk/qpid/doc/book/build.sh
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/build.sh?rev=922453&view=auto
==============================================================================
--- qpid/trunk/qpid/doc/book/build.sh (added)
+++ qpid/trunk/qpid/doc/book/build.sh Fri Mar 12 23:30:28 2010
@@ -0,0 +1,22 @@
+#!/bin/bash -ex
+
+########################################################################
+#
+# Build a PDF from Docbook XML
+#
+# This will be replaced by an ANT file soon.
+#
+########################################################################
+
+rm -rf build
+mkdir -p build
+mkdir -p pdf
+
+# Assemble all documents using XInclude
+xmllint --xinclude src/Book.xml >build/book.xml
+
+# Create the .fo
+xsltproc /usr/share/sgml/docbook/xsl-stylesheets-1.75.2/fo/docbook.xsl build/book.xml >build/book.fo
+
+# Use Apache FOP to create the PDF
+fop build/book.fo pdf/qpid-book.pdf
Propchange: qpid/trunk/qpid/doc/book/build.sh
------------------------------------------------------------------------------
svn:executable = *
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org