Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51544 - in sandbox/win32-doc-tools: . docs files
From: daniel_james_at_[hidden]
Date: 2009-03-02 17:13:13


Author: danieljames
Date: 2009-03-02 17:13:13 EST (Mon, 02 Mar 2009)
New Revision: 51544
URL: http://svn.boost.org/trac/boost/changeset/51544

Log:
Initial import.
Added:
   sandbox/win32-doc-tools/build.sh (contents, props changed)
   sandbox/win32-doc-tools/docs/
   sandbox/win32-doc-tools/docs/user-config.jam (contents, props changed)
   sandbox/win32-doc-tools/files/

Added: sandbox/win32-doc-tools/build.sh
==============================================================================
--- (empty file)
+++ sandbox/win32-doc-tools/build.sh 2009-03-02 17:13:13 EST (Mon, 02 Mar 2009)
@@ -0,0 +1,52 @@
+#!/bin/sh
+
+OUTPUT_NAME=boost-doc-tools
+FILES=$(pwd)/files
+TMPDIR=$(pwd)/tmp
+DESTDIR=$(pwd)
+
+ICONV=iconv-1.9.2.win32
+LIBXSLT=libxslt-1.1.24.win32
+LIBXML=libxml2-2.7.3.win32
+ZLIB=zlib-1.2.3.win32
+DOCBOOK_XSL=docbook-xsl-1.74.3
+DOCBOOK_XML_VER=4.2
+
+###############################################################################
+
+OUTPUT_DIR=$TMPDIR/$OUTPUT_NAME
+
+rm -r $TMPDIR
+mkdir -p $OUTPUT_DIR/bin
+
+cp $FILES/quickbook.exe $OUTPUT_DIR/bin
+
+unzip -q -d $TMPDIR $FILES/$ICONV.zip
+unzip -q -d $TMPDIR $FILES/$LIBXSLT.zip
+unzip -q -d $TMPDIR $FILES/$LIBXML.zip
+unzip -q -d $TMPDIR $FILES/$ZLIB.zip
+unzip -q -d $TMPDIR $FILES/$DOCBOOK_XSL.zip
+
+mv $TMPDIR/$LIBXML/readme.txt $OUTPUT_DIR/README-$LIBXML.txt
+mv $TMPDIR/$LIBXSLT/readme.txt $OUTPUT_DIR/README-$LIBXSLT.txt
+
+cp -r $TMPDIR/$ICONV/* $OUTPUT_DIR/
+cp -r $TMPDIR/$LIBXSLT/* $OUTPUT_DIR/
+cp -r $TMPDIR/$LIBXML/* $OUTPUT_DIR/
+cp -r $TMPDIR/$ZLIB/* $OUTPUT_DIR/
+
+mkdir -p $OUTPUT_DIR/share/xsl/docbook/
+cp -r $TMPDIR/$DOCBOOK_XSL/* $OUTPUT_DIR/xsl/docbook/
+
+mkdir -p $OUTPUT_DIR/xml/docbook/$DOCBOOK_XML_VER/
+unzip -q -d $OUTPUT_DIR/xml/docbook/$DOCBOOK_XML_VER/ $FILES/docbook-xml-$DOCBOOK_XML_VER.zip
+
+sed "s/DIRNAME/$OUTPUT_NAME/g" docs/user-config.jam > $OUTPUT_DIR/user-config.jam
+sed "s/DIRNAME/$OUTPUT_NAME/g" docs/README.txt > $OUTPUT_DIR/README.txt
+
+cd $TMPDIR
+zip -q -r $OUTPUT_NAME.zip $OUTPUT_NAME
+mv $TMPDIR/$OUTPUT_NAME.zip $DESTDIR
+cd -
+
+rm -r $TMPDIR

Added: sandbox/win32-doc-tools/docs/user-config.jam
==============================================================================
--- (empty file)
+++ sandbox/win32-doc-tools/docs/user-config.jam 2009-03-02 17:13:13 EST (Mon, 02 Mar 2009)
@@ -0,0 +1,20 @@
+# Adjust this path to the location you unzipped boost-doc-tools to...
+BOOST_DOC_TOOLS_DIR = "c:/DIRNAME" ;
+
+using xsltproc
+ : $(BOOST_DOC_TOOLS_DIR)/bin/xsltproc.exe
+ ;
+
+using boostbook
+ : $(BOOST_DOC_TOOLS_DIR)/share/xsl/docbook
+ : $(BOOST_DOC_TOOLS_DIR)/share/xml/docbook/4.2
+ ;
+
+using quickbook
+ : $(BOOST_DOC_TOOLS_DIR)/bin/quickbook.exe
+ ;
+
+# If you want to auto-build quickbook from the boost repository replace
+# the previous directive with:
+
+# using quickbook ;
\ No newline at end of file


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk