Blame view

3rdparty/boost_1_81_0/libs/spirit/doc/Jamfile 1.95 KB
73ef4ff3   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
  #==============================================================================
  #   Copyright (c) 2001-2011 Joel de Guzman
  #   Copyright (c) 2001-2011 Hartmut Kaiser
  #
  #   Use, modification and distribution is subject to the Boost Software
  #   License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  #   http://www.boost.org/LICENSE_1_0.txt)
  #==============================================================================
  
  project spirit/doc ;
  
  import boostbook ;
  import quickbook ;
  import modules ;
  
  path-constant here : . ;
  
  if --enable-index in  [ modules.peek : ARGV ]
  {
     ECHO "Building the Spirit docs with automatic index generation enabled." ;
     using auto-index ;
     project : requirements
          <quickbook-define>__use_auto_index__
          <auto-index>on
          <auto-index-script>$(here)/index.idx
          <format>pdf:<auto-index-internal>off
          <format>html:<auto-index-internal>on
          <xsl:param>index.on.type=1
          ;
  }
  else
  {
     ECHO "Building the Spirit docs with automatic index generation disabled.  Try building with --enable-index." ;
  }
  
  path-constant images_location : html ;
  
  boostbook spirit2
      :
          spirit2.qbk
      :
          <xsl:param>boost.root=../../../..
          <xsl:param>chunk.section.depth=4
          <xsl:param>chunk.first.sections=1
          <xsl:param>toc.section.depth=3
          <xsl:param>toc.max.depth=3
          <xsl:param>generate.section.toc.level=4
          <format>html:<xsl:param>admon.graphics.path=images/
          
          <include>.
          <format>pdf:<xsl:param>img.src.path=$(images_location)/
          <format>pdf:<xsl:param>draft.mode="no"
          <format>pdf:<xsl:param>"boost.url.prefix=http://www.boost.org/doc/libs/release/libs/spirit/doc/html"
      ;
  
  ###############################################################################
  alias boostdoc ;
  explicit boostdoc ;
  alias boostrelease
      :
          spirit2
          ../repository/doc//spirit2_repository
          x3//spirit_x3
      ;
  explicit boostrelease ;