Author: ritchiem
Date: Tue Jul 6 17:32:27 2010
New Revision: 960954
URL: http://svn.apache.org/viewvc?rev=960954&view=rev
Log:
QPID-2724 : Remove fixed version from xsl-stylesheets
Modified:
qpid/trunk/qpid/doc/book/Makefile
qpid/trunk/qpid/doc/book/README.txt
qpid/trunk/qpid/doc/book/build-book.sh
qpid/trunk/qpid/doc/book/build-chapter.sh
qpid/trunk/qpid/doc/book/build.sh
Modified: qpid/trunk/qpid/doc/book/Makefile
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/Makefile?rev=960954&r1=960953&r2=960954&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/book/Makefile (original)
+++ qpid/trunk/qpid/doc/book/Makefile Tue Jul 6 17:32:27 2010
@@ -4,7 +4,7 @@
#
# Apache FOP, version 0.95 or higher
# Docbook 4.5
-# Docbook XSL stylesheets - tested with xsl-stylesheets-1.75.2
+# Docbook XSL stylesheets - tested with xsl-stylesheets (1.75.2 and 1.65.1-2)
# xsltproc
# xmllint
#
@@ -27,4 +27,4 @@ build/Programming-In-Apache-Qpid:
./build-book.sh Programming-In-Apache-Qpid
clean:
- rm -rf build
\ No newline at end of file
+ rm -rf build pdf
Modified: qpid/trunk/qpid/doc/book/README.txt
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/README.txt?rev=960954&r1=960953&r2=960954&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/book/README.txt (original)
+++ qpid/trunk/qpid/doc/book/README.txt Tue Jul 6 17:32:27 2010
@@ -7,7 +7,7 @@ You need the following to build the docu
- Apache FOP, version 0.95 or higher
- Docbook 4.5
-- Docbook XSL stylesheets - I have tested with xsl-stylesheets-1.75.2
+- Docbook XSL stylesheets - Tested with xsl-stylesheets (1.75.2 & 1.65.1-2)
- xsltproc
- xmllint
Modified: qpid/trunk/qpid/doc/book/build-book.sh
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/build-book.sh?rev=960954&r1=960953&r2=960954&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/book/build-book.sh (original)
+++ qpid/trunk/qpid/doc/book/build-book.sh Tue Jul 6 17:32:27 2010
@@ -20,16 +20,16 @@ cp -r src/images build/$1/html-single
cp -r src/images build/$1/html
# Create single-page .html
-xsltproc --xinclude --stringparam section.autolabel 1 --stringparam
callout.graphics 0 --stringparam callout.unicode 0 --stringparam
section.label.includes.component.label 1
/usr/share/sgml/docbook/xsl-stylesheets-1.75.2/html/docbook.xsl src/$1.xml
>build/$1/html-single/$1.html
+xsltproc --xinclude --stringparam section.autolabel 1 --stringparam
callout.graphics 0 --stringparam callout.unicode 0 --stringparam
section.label.includes.component.label 1
/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl src/$1.xml
>build/$1/html-single/$1.html
# Create chunked .html
INFILE=$(readlink -f src/$1.xml)
pushd build/$1/html
-xsltproc --xinclude --stringparam chunk.section.depth 1 --stringparam
section.autolabel 1 --stringparam callout.graphics 0 --stringparam
callout.unicode 0 --stringparam section.label.includes.component.label 1
/usr/share/sgml/docbook/xsl-stylesheets-1.75.2/html/chunk.xsl $INFILE
+xsltproc --xinclude --stringparam chunk.section.depth 1 --stringparam
section.autolabel 1 --stringparam callout.graphics 0 --stringparam
callout.unicode 0 --stringparam section.label.includes.component.label 1
/usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl $INFILE
popd
# Create the .fo
-xsltproc --xinclude --stringparam section.autolabel 1 --stringparam
callout.graphics 0 --stringparam callout.unicode 0 --stringparam
section.label.includes.component.label 1
/usr/share/sgml/docbook/xsl-stylesheets-1.75.2/fo/docbook.xsl src/$1.xml
>build/$1/pdf/$1.fo
+xsltproc --xinclude --stringparam section.autolabel 1 --stringparam
callout.graphics 0 --stringparam callout.unicode 0 --stringparam
section.label.includes.component.label 1
/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl src/$1.xml
>build/$1/pdf/$1.fo
# Use Apache FOP to create the PDF
fop build/$1/pdf/$1.fo build/$1/pdf/$1.pdf
Modified: qpid/trunk/qpid/doc/book/build-chapter.sh
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/build-chapter.sh?rev=960954&r1=960953&r2=960954&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/book/build-chapter.sh (original)
+++ qpid/trunk/qpid/doc/book/build-chapter.sh Tue Jul 6 17:32:27 2010
@@ -17,10 +17,10 @@ mkdir -p pdf
# Create the .html
-xsltproc --stringparam section.autolabel 1
/usr/share/sgml/docbook/xsl-stylesheets-1.75.2/html/docbook.xsl src/$1.xml
>build/$1.html
+xsltproc --stringparam section.autolabel 1
/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl src/$1.xml
>build/$1.html
# Create the .fo
-xsltproc --stringparam section.autolabel 1
/usr/share/sgml/docbook/xsl-stylesheets-1.75.2/fo/docbook.xsl src/$1.xml
>build/$1.fo
+xsltproc --stringparam section.autolabel 1
/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl src/$1.xml >build/$1.fo
# Use Apache FOP to create the PDF
fop build/$1.fo pdf/$1.pdf
Modified: qpid/trunk/qpid/doc/book/build.sh
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/build.sh?rev=960954&r1=960953&r2=960954&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/book/build.sh (original)
+++ qpid/trunk/qpid/doc/book/build.sh Tue Jul 6 17:32:27 2010
@@ -16,7 +16,7 @@ mkdir -p pdf
xmllint --xinclude src/Book.xml >build/qpid-book.xml
# Create the .fo
-xsltproc /usr/share/sgml/docbook/xsl-stylesheets-1.75.2/fo/docbook.xsl
build/qpid-book.xml >build/qpid-book.fo
+xsltproc /usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl
build/qpid-book.xml >build/qpid-book.fo
# Use Apache FOP to create the PDF
fop build/qpid-book.fo pdf/qpid-book.pdf
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]