Blame view

3rdparty/boost_1_81_0/libs/gil/doc/Jamfile 1.36 KB
977ed18d   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
66
  # Boost.GIL (Generic Image Library) - documentation
  #
  # Copyright (c) 2018 Stefan Seefeld
  #
  # Distributed under 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)
  
  import doxygen ;
  import os ;
  import path ;
  
  .doxygen = [ doxygen.name ] ;
  .doxygen ?= doxygen ;
  
  #doxygen/gil_standalone/gil_boost.doxygen
  make reference : doxyfile
       : @make_doxygen
       : <location>html
         <dependency>$(headers)
       ;
  
  rule make_doxygen ( targets * : sources * : properties * )
  {
      LIB_DIR on $(targets) =
          [ path.native [ path.parent [ path.root
          [ on $(sources[1]) return $(SEARCH) ] [ path.pwd ] ] ] ] ;
  }
  
  if [ os.name ] = NT
  {
      actions make_doxygen
      {
          SET LIB_DIR=$(LIB_DIR)
          chdir "$(>:D)" && "$(.doxygen)" $(>:D=)
      }
  }
  else
  {
      actions make_doxygen
      {
          export LIB_DIR=$(LIB_DIR)
          cd $(>:D) && "$(.doxygen)" $(>:D=)
      }
  }
  
  make html
       : index.rst
       : @sphinx-build
       : <location>.
         <dependency>reference
       ;
  
  if [ os.name ] = NT
  {
    actions sphinx-build { chdir "$(>:D)" && make clean && make html}
  }
  else
  {
    actions sphinx-build { make -C "$(>:D)" clean html}
  }
  
  ###############################################################################
  alias boostdoc ;
  explicit boostdoc ;
  alias boostrelease : html ;
  explicit boostrelease ;