• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Jamfile.v2
2#
3# Copyright (c) 2009
4# Steven Watanabe
5#
6# Distributed under the Boost Software License, Version 1.0. (See
7# accompanying file LICENSE_1_0.txt or copy at
8# http://www.boost.org/LICENSE_1_0.txt)
9
10using quickbook ;
11using doxygen ;
12using boostbook ;
13import regex ;
14import os ;
15import path ;
16
17path-constant here : . ;
18
19doxygen_files =
20    additive_combine
21    bernoulli_distribution
22    beta_distribution
23    binomial_distribution
24    cauchy_distribution
25    chi_squared_distribution
26    discard_block
27    discrete_distribution
28    exponential_distribution
29    extreme_value_distribution
30    faure
31    fisher_f_distribution
32    gamma_distribution
33    generate_canonical
34    geometric_distribution
35    hyperexponential_distribution
36    independent_bits
37    inversive_congruential
38    lagged_fibonacci
39    laplace_distribution
40    linear_congruential
41    linear_feedback_shift
42    lognormal_distribution
43    mersenne_twister
44    negative_binomial_distribution
45    niederreiter_base2
46    non_central_chi_squared_distribution
47    normal_distribution
48    piecewise_constant_distribution
49    piecewise_linear_distribution
50    poisson_distribution
51    random_device
52    random_number_generator
53    ranlux
54    seed_seq
55    shuffle_order
56    # shuffle_output
57    sobol
58    student_t_distribution
59    subtract_with_carry
60    taus88
61    triangle_distribution
62    uniform_01
63    uniform_int_distribution
64    uniform_on_sphere
65    uniform_real_distribution
66    uniform_smallint
67    variate_generator
68    weibull_distribution
69    xor_combine
70    traits
71;
72
73path-constant here : . ;
74path-constant boost-root : ../../.. ;
75
76# Figure out where the root of the boost tree is relative
77# to the html directory.
78local BOOST_ROOT = [ path.relative-to
79                       [ path.join [ path.pwd ] html ]
80                       [ path.root
81                           [ path.make $(boost-root) ]
82                           [ path.pwd ] ] ] ;
83
84doxygen reference :
85    $(here)/../../../boost/random/$(doxygen_files).hpp
86    $(here)/../../../boost/random.hpp
87  :
88    <doxygen:param>EXPAND_ONLY_PREDEF=YES
89    <doxygen:param>"ALIASES= \\
90        xmlnote=\"@xmlonly <note><para> @endxmlonly\" \\
91        endxmlnote=\"@xmlonly </para></note> @endxmlonly\" \\
92        xmlwarning=\"@xmlonly <warning><para> @endxmlonly\" \\
93        endxmlwarning=\"@xmlonly </para></warning> @endxmlonly\" \\
94        blockquote=\"@xmlonly <blockquote><para> @endxmlonly\" \\
95        endblockquote=\"@xmlonly </para></blockquote> @endxmlonly\" \\
96        boost=\"$(BOOST_ROOT)\" \\
97        random_distribution=\"@xmlonly <link linkend=\\\"boost_random.reference.concepts.random_distribution\\\">random distribution</link> @endxmlonly\" \\
98        pseudo_random_number_generator=\"@xmlonly <link linkend=\\\"boost_random.reference.concepts.pseudo_random_number_generator\\\">pseudo-random number generator</link> @endxmlonly\" \\
99        quasi_random_number_generator=\"@xmlonly <link linkend=\\\"boost_random.reference.concepts.quasi_random_number_generator\\\">quasi-random number generator</link> @endxmlonly\" \\
100        uniform_random_number_generator=\"@xmlonly <link linkend=\\\"boost_random.reference.concepts.uniform_random_number_generator\\\">uniform random number generator</link> @endxmlonly\" \\
101        nondeterministic_random_number_generator=\"@xmlonly <link linkend=\\\"boost_random.reference.concepts.non_deterministic_uniform_random_number_generator\\\">non-deterministic random number generator</link> @endxmlonly\" \\
102        generators=\"@xmlonly <link linkend=\\\"boost_random.reference.generators\\\">generators</link> @endxmlonly\" \\
103        distributions=\"@xmlonly <link linkend=\\\"boost_random.reference.distributions\\\">distributions</link> @endxmlonly\" \\
104        additive_combine_engine=\"@xmlonly <classname alt=\\\"boost::random::additive_combine_engine\\\">additive_combine_engine</classname> @endxmlonly\" \\
105        discard_block_engine=\"@xmlonly <classname alt=\\\"boost::random::discard_block_engine\\\">discard_block_engine</classname> @endxmlonly\" \\
106        lagged_fibonacci_engine=\"@xmlonly<classname alt=\\\"boost::random::lagged_fibonacci_engine\\\">lagged_fibonacci_engine</classname>@endxmlonly\" \\
107        subtract_with_carry_01_engine=\"@xmlonly<classname alt=\\\"boost::random::subtract_with_carry_01_engine\\\">subtract_with_carry_01_engine</classname>@endxmlonly\" \\
108        linear_congruential_engine=\"@xmlonly<classname alt=\\\"boost::random::linear_congruential_engine\\\">linear_congruential_engine</classname>@endxmlonly\" \\
109        minstd_rand=\"@xmlonly <classname alt=\\\"boost::random::minstd_rand\\\">minstd_rand</classname> @endxmlonly\" \\
110        minstd_rand0=\"@xmlonly <classname alt=\\\"boost::random::minstd_rand0\\\">minstd_rand0</classname> @endxmlonly\" \\
111        rand48=\"@xmlonly <classname alt=\\\"boost::random::rand48\\\">rand48</classname> @endxmlonly\" \\
112        mt11213b=\"@xmlonly <classname alt=\\\"boost::random::mt11213b\\\">mt11213b</classname> @endxmlonly\" \\
113        mt19937=\"@xmlonly <classname alt=\\\"boost::random::mt19937\\\">mt19937</classname> @endxmlonly\" \\
114        niederreiter_base2_engine=\"@xmlonly <classname alt=\\\"boost::random::niederreiter_base2_engine\\\">niederreiter_base2_engine</classname> @endxmlonly\" \\
115        sobol_engine=\"@xmlonly <classname alt=\\\"boost::random::sobol_engine\\\">sobol_engine</classname> @endxmlonly\" \\
116        faure_engine=\"@xmlonly <classname alt=\\\"boost::random::faure_engine\\\">faure_engine</classname> @endxmlonly\" \\
117        ecuyer1988=\"@xmlonly <classname alt=\\\"boost::random::ecuyer1988\\\">ecuyer1988</classname> @endxmlonly\" \\
118        lagged_fibonacci607=\"@xmlonly <classname alt=\\\"boost::random::lagged_fibonacci607\\\">lagged_fibonacci607</classname> @endxmlonly\" \\
119        lagged_fibonacci44497=\"@xmlonly <classname alt=\\\"boost::random::lagged_fibonacci44497\\\">lagged_fibonacci44497</classname> @endxmlonly\" \\
120        bernoulli_distribution=\"@xmlonly <classname alt=\\\"boost::random::bernoulli_distribution\\\">bernoulli_distribution</classname> @endxmlonly\" \\
121        cauchy_distribution=\"@xmlonly <classname alt=\\\"boost::random::cauchy_distribution\\\">cauchy_distribution</classname> @endxmlonly\" \\
122        uniform_01=\"@xmlonly<classname alt=\\\"boost::random::uniform_01\\\">uniform_01</classname>@endxmlonly\" \\
123        random_device=\"@xmlonly<classname alt=\\\"boost::random::random_device\\\">random_device</classname>@endxmlonly\""
124    <doxygen:param>HIDE_UNDOC_MEMBERS=NO
125    <doxygen:param>QUIET=YES
126    <doxygen:param>WARN_IF_UNDOCUMENTED=NO
127    <doxygen:param>EXTRACT_PRIVATE=NO
128    <doxygen:param>ENABLE_PREPROCESSING=YES
129    <doxygen:param>MACRO_EXPANSION=YES
130    <doxygen:param>SEARCH_INCLUDES=NO
131    # Expand macros and clean up a bunch of ugly names
132    <doxygen:param>"PREDEFINED= \\
133        \"BOOST_RANDOM_DOXYGEN=1\" \\
134        \"BOOST_PREVENT_MACRO_SUBSTITUTION=\" \\
135        \"BOOST_STATIC_ASSERT(x)=\" \\
136        \"BOOST_STATIC_CONSTANT(type,value)=static const type value\" \\
137        \"BOOST_CONSTEXPR=constexpr\" \\
138        \"UINT64_C(value)=value ## ull\" \\
139        \"BOOST_RANDOM_DECL=\" \\
140        \"RealType(x)=x\" \\
141        \"result_type(x)=x\" \\
142        \"p_arg=p\" \\
143        \"median_arg=median\" \\
144        \"mean_arg=mean\" \\
145        \"sigma_arg=sigma\" \\
146        \"lambda_arg=lambda\" \\
147        \"alpha_arg=alpha\" \\
148        \"beta_arg=beta\" \\
149        \"a_arg=a\" \\
150        \"b_arg=b\" \\
151        \"c_arg=c\" \\
152        \"t_arg=t\" \\
153        \"m_arg=m\" \\
154        \"n_arg=n\" \\
155        \"s_arg=s\" \\
156        \"k_arg=k\" \\
157        \"min_arg=min\" \\
158        \"max_arg=max\" \\
159        \"dim_arg=dim\" \\
160        \"parm=param\" \\
161        \"aseed=seed\" \\
162        \"seed_arg=seed\" \\
163        \"BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR(os,T,t)=template<class CharT, class Traits> friend std::basic_ostream<CharT,Traits>& operator<<(std::basic_ostream<CharT,Traits>& os, const T& t)\" \\
164        \"BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR(is,T,t)=template<class CharT, class Traits> friend std::basic_istream<CharT,Traits>& operator>>(std::basic_istream<CharT,Traits>& is, const T& t)\" \\
165        \"BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR(T,lhs,rhs)=friend bool operator==(const T& lhs, const T& rhs)\" \\
166        \"BOOST_RANDOM_DETAIL_INEQUALITY_OPERATOR(T)=friend bool operator!=(const T& lhs, const T& rhs) { return !(lhs == rhs); }\" \\
167        \"BOOST_RANDOM_DETAIL_ARITHMETIC_CONSTRUCTOR(Self,T,t)=explicit Self(T t)\" \\
168        \"BOOST_RANDOM_DETAIL_GENERATOR_CONSTRUCTOR(Self,T,t)=template<class T> explicit Self(T& t)\" \\
169        \"BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR(Self,T,t)=template<class T> explicit Self(T& t)\" \\
170        \"BOOST_RANDOM_DETAIL_ARITHMETIC_SEED(Self,T,t)=void seed(T t)\" \\
171        \"BOOST_RANDOM_DETAIL_GENERATOR_SEED(Self,T,t)=template<class T> void seed(T& t)\" \\
172        \"BOOST_RANDOM_DETAIL_SEED_SEQ_SEED(Self,T,t)=template<class T> void seed(T& t)\""
173    <reftitle>"Headers"
174    <doxygen:xml-imagedir>images/random
175;
176
177xml random : random.qbk : <dependency>reference ;
178
179boostbook standalone :
180    random
181  :
182    <implicit-dependency>reference
183    <xsl:param>boost.root=../../../..
184    <xsl:param>chunk.section.depth=2
185    <format>pdf:<xsl:param>img.src.path=$(here)/html/
186;
187
188###############################################################################
189alias boostdoc
190    : random
191    :
192    : <dependency>reference
193    : ;
194explicit boostdoc ;
195alias boostrelease ;
196explicit boostrelease ;
197