Jamfile.v2
849 Bytes
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
# Copyright (C) 2022 Alexander Grund
# Distributed under the Boost Software License, Version 1.0
# https://www.boost.org/LICENSE_1_0.txt
using doxygen ;
import doxygen ;
import path ;
import os ;
path-constant here : . ;
.doxygen = [ doxygen.name ] ;
.doxygen ?= doxygen ;
local sources = [ path.glob-tree $(here)/../include/boost/locale : *.hpp : ]
[ path.glob $(here) : *.txt ]
[ path.glob $(here)/style : *.css *.png ]
templates/footer.html
;
make html : $(here)/Doxyfile : @make-html : <dependency>$(sources) ;
if [ os.name ] = NT
{
RMDIR = rmdir /s /q ;
}
else
{
RMDIR = rm -rf ;
}
actions make-html {
cd $(here)
$(RMDIR) html
"$(.doxygen)"
}
alias reference : html ;
alias boostdoc ;
explicit boostdoc ;
alias boostrelease : html ;
explicit boostrelease ;