]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/predef/doc/build.jam
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / predef / doc / build.jam
1 # Copyright Rene Rivera 2011-2016
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or copy at
4 # http://www.boost.org/LICENSE_1_0.txt)
5
6 using quickbook ;
7 using boostbook ;
8 import path ;
9
10 if ! $(BOOST_ROOT)
11 {
12 BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
13 }
14
15 if $(BOOST_PREDEF_ROOT)
16 {
17 path-constant BOOST_PREDEF_INCLUDE_ROOT : $(BOOST_PREDEF_ROOT)/include ;
18 }
19 else
20 {
21 path-constant BOOST_PREDEF_INCLUDE_ROOT : $(BOOST_ROOT) ;
22 }
23
24 local BOOST_PREDEF_HEADERS = [ path.glob-tree $(BOOST_PREDEF_INCLUDE_ROOT)/boost/predef : *.h ] ;
25
26 # Intermediate targets..
27
28 # Quickbok to boostbook target.
29 xml predef
30 :
31 predef.qbk
32 :
33 <dependency>$(BOOST_PREDEF_INCLUDE_ROOT)/boost/predef.h
34 <dependency>$(BOOST_PREDEF_HEADERS)
35 ;
36 explicit predef ;
37
38 # HTML dependencies for standalone docs.
39 install images : [ glob $(BOOST_ROOT)/doc/src/images/*.png ] : <location>html/images ;
40 explicit images ;
41 install callouts : [ glob $(BOOST_ROOT)/doc/src/images/callouts/*.png ] : <location>html/images/callouts ;
42 explicit callouts ;
43 install css : [ glob $(BOOST_ROOT)/doc/src/*.css ] : <location>html ;
44 explicit css ;
45
46 # Default target builds standalone docs.
47 boostbook standalone
48 :
49 predef
50 :
51 <xsl:param>boost.root=../../../..
52 #<xsl:param>generate.section.toc.level=3
53 <xsl:param>chunk.section.depth=2
54 <xsl:param>chunk.first.sections=1
55
56 <dependency>images
57 <dependency>callouts
58 <dependency>css
59 ;
60
61 ###############################################################################
62 ### Targets for Boost release integration.
63 ###############################################################################
64
65 # Target for Boost global documentation integration.
66 #
67 # For documentation that will be integrated into the global documentation
68 # this should be an alias similar to:
69 #
70 # alias boostdoc : my_lib : : : <implicit-dependency>my_lib_boostbook_xml ;
71 # explicit boostdoc ;
72 #
73 # For documentation that is not part of the global documentation, i.e.
74 # it has stadalone documentation, it should be an empty alias:
75 #
76 # alias boostdoc ;
77 # explicit boostdoc ;
78 #
79 alias boostdoc : predef ;
80 explicit boostdoc ;
81
82 # Target for Boost standalone release documentation building.
83 #
84 # For documentation that is not part of the global Boost documentation
85 # this should be an alias to building the "standalone" documentation.
86 # Usual this is just an alias to a "stadalone" target:
87 #
88 # alias boostrelease : stadalone ;
89 # explicit boostrelease ;
90 #
91 # For documentation that is part of the global Boost documentation this
92 # should be an empty alias:
93 #
94 # alias boostrelease ;
95 # explicit boostrelease ;
96 #
97 alias boostrelease ;
98 explicit boostrelease ;
99
100 ###############################################################################