$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r51270 - trunk/doc/test
From: john_at_[hidden]
Date: 2009-02-16 08:12:23
Author: johnmaddock
Date: 2009-02-16 08:12:22 EST (Mon, 16 Feb 2009)
New Revision: 51270
URL: http://svn.boost.org/trac/boost/changeset/51270
Log:
Add HTMLHelp options to Jamfile.
Text files modified: 
   trunk/doc/test/Jamfile.v2 |    40 +++++++++++++++++++++++++++++++++++++++-
   1 files changed, 39 insertions(+), 1 deletions(-)
Modified: trunk/doc/test/Jamfile.v2
==============================================================================
--- trunk/doc/test/Jamfile.v2	(original)
+++ trunk/doc/test/Jamfile.v2	2009-02-16 08:12:22 EST (Mon, 16 Feb 2009)
@@ -6,6 +6,7 @@
 import common ;
 import doxygen ;
 using quickbook ;
+import modules ;
 
 path-constant images_location : html ;
 
@@ -141,12 +142,40 @@
         <dependency>gs.check
     ;
 
+if htmlhelp in [ modules.peek : ARGV ]
+{
+	#
+	# Start with a rule to convert htmlhelp project into
+	# compiled help file:
+	#
+	make htmlhelp/htmlhelp.chm : standalone : @hhc ;
+	actions ignore hhc
+	{
+		hhc htmlhelp/htmlhelp.hhp
+	}
+	#
+	# These install rules copy our images into a subdirectory of the created
+	# htmlhelp project directory: unfortunately hhc.exe will only embed
+	# images in a subdirectory of the project root.
+	#
+	install htmlhelp1 : [ glob html/images/*.png ] : <location>htmlhelp/images ;
+	install htmlhelp1a : [ glob html/images/*.svg ] : <location>htmlhelp/images ;
+	install htmlhelp2 : [ glob html/images/accumulators/*.png ] : <dependency>statsdoc <location>htmlhelp/images/accumulators ;
+	install htmlhelp3 : [ glob ../src/images/*.png ] : <dependency>statsdoc <location>htmlhelp/images ;
+	install htmlhelp4 : [ glob ../src/images/callouts/*.png ] : <dependency>statsdoc <location>htmlhelp/images/callouts ;
+}
+
 xml test : test.qbk ;
 boostbook standalone
     :
         test
     :
         <dependency>statsdoc
+        <format>htmlhelp:<dependency>htmlhelp1
+        <format>htmlhelp:<dependency>htmlhelp1a
+        <format>htmlhelp:<dependency>htmlhelp2
+        <format>htmlhelp:<dependency>htmlhelp3
+        <format>htmlhelp:<dependency>htmlhelp4
 
         # HTML options first:
         #======================================================================
@@ -164,8 +193,17 @@
         # PDF Options:
         #======================================================================
         <format>pdf:<xsl:param>img.src.path=$(images_location)/
-        <xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/test/html
+        <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/test/html
+
+        # HTML Help Options:
+        #======================================================================
+        #<format>htmlhelp:<xsl:param>img.src.path=../html
+        <format>htmlhelp:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/pdf/htmlhelp
+        <format>htmlhelp:<xsl:param>htmlhelp.chm=test.chm
     ;
 
 
 install pdf-install : standalone : <location>. <install-type>PDF ;
+
+
+