Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51274 - in branches/release: . libs/accumulators/doc
From: eric_at_[hidden]
Date: 2009-02-16 13:26:35


Author: eric_niebler
Date: 2009-02-16 13:26:34 EST (Mon, 16 Feb 2009)
New Revision: 51274
URL: http://svn.boost.org/trac/boost/changeset/51274

Log:
Merged revisions 50087 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r50087 | johnmaddock | 2008-12-03 10:10:33 -0800 (Wed, 03 Dec 2008) | 1 line
  
  Added checks for required tools.
........

Properties modified:
   branches/release/ (props changed)
Text files modified:
   branches/release/libs/accumulators/doc/Jamfile.v2 | 63 +++++++++++++++++++++++++++++++++++++--
   1 files changed, 59 insertions(+), 4 deletions(-)

Modified: branches/release/libs/accumulators/doc/Jamfile.v2
==============================================================================
--- branches/release/libs/accumulators/doc/Jamfile.v2 (original)
+++ branches/release/libs/accumulators/doc/Jamfile.v2 2009-02-16 13:26:34 EST (Mon, 16 Feb 2009)
@@ -7,10 +7,49 @@
 import doxygen ;
 import quickbook ;
 
-# Use Doxygen to emimt a tagfile with the definition of depends_on<>.
-# That tagfile will be used by Doxygen below when generating the Statistics
-# Library Reference. This is all so that the Doxygen-generated documentation
-# for the features shows the dependency relationships between them.
+#
+# Accumulators docs are dependent upon
+# latex dvips and ps being in your PATH.
+# This is true for most Unix installs, but
+# not on Win32, where you will need to install
+# MkTex and Ghostscript and add these tools
+# to your path.
+#
+make latex.check : : @check-latex ;
+actions check-latex
+{
+ latex -version > latex.version
+}
+
+make dvips.check : : @check-dvips ;
+actions check-dvips
+{
+ dvips -version > dvips.version
+}
+
+make gs.check : : @check-gs ;
+
+import os ;
+
+if [ os.name ] = "NT"
+{
+ actions check-gs
+ {
+ gswin32c -version > gs.version
+ }
+}
+else
+{
+ actions check-gs
+ {
+ gs -version > gs.version
+ }
+}
+
+# Use Doxygen to emit a tagfile with the definition of depends_on<>. That
+# tagfile will be used by Doxygen below when generating the Statistics Library
+# Reference. This is all so that the Doxygen-generated documentation for the
+# features shows the dependency relationships between them.
 doxygen tagfile
     :
         ../../../boost/accumulators/framework/depends_on.hpp
@@ -22,6 +61,9 @@
         <doxygen:param>"PREDEFINED=\"BOOST_ACCUMULATORS_DOXYGEN_INVOKED=1\" \\
                                    \"BOOST_PP_REPEAT_FROM_TO(a,b,c,d)=\" \\
                                    \"BOOST_PP_ENUM_PARAMS(a,b)=b ## 1, b ## 2, ...\""
+ <dependency>latex.check
+ <dependency>dvips.check
+ <dependency>gs.check
     ;
 
 doxygen accdoc
@@ -46,6 +88,9 @@
         <doxygen:param>EXPAND_ONLY_PREDEF=YES
         <doxygen:param>SEARCH_INCLUDES=NO
         <reftitle>"Accumulators Framework Reference"
+ <dependency>latex.check
+ <dependency>dvips.check
+ <dependency>gs.check
     ;
 
 # Generate the HTML form of the stats documentation, as this
@@ -56,6 +101,10 @@
         [ glob ../../../boost/accumulators/statistics*.hpp ]
         [ glob ../../../boost/accumulators/statistics/*.hpp ]
         [ glob ../../../boost/accumulators/statistics/variates/*.hpp ]
+ :
+ <dependency>latex.check
+ <dependency>dvips.check
+ <dependency>gs.check
     ;
 
 if [ os.name ] = NT
@@ -116,6 +165,9 @@
         <reftitle>"Statistics Library Reference"
         <dependency>tagfile
         <dependency>statsdoclatex.tag
+ <dependency>latex.check
+ <dependency>dvips.check
+ <dependency>gs.check
     ;
 
 doxygen opdoc
@@ -162,6 +214,9 @@
         <doxygen:param>EXPAND_ONLY_PREDEF=YES
         <doxygen:param>SEARCH_INCLUDES=NO
         <reftitle>"Numeric Operators Library Reference"
+ <dependency>latex.check
+ <dependency>dvips.check
+ <dependency>gs.check
     ;
 
 xml accumulators


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