]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #============================================================================== |
2 | # Copyright (c) 2015 Rene Rivera | |
3 | # | |
4 | # Use, modification and distribution is subject to the Boost Software | |
5 | # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
6 | # http://www.boost.org/LICENSE_1_0.txt) | |
7 | #============================================================================== | |
8 | ||
9 | import quickbook ; | |
10 | import modules ; | |
11 | import boostcpp ; | |
12 | import path ; | |
13 | import option ; | |
14 | ||
15 | local DIST_DIR = [ option.get distdir ] ; | |
92f5a8d4 | 16 | DIST_DIR ?= [ option.get build-dir ] ; |
7c673cae FG |
17 | DIST_DIR ?= [ path.join $(BOOST_ROOT) dist ] ; |
18 | DIST_DIR = [ path.root [ path.make $(DIST_DIR) ] [ path.pwd ] ] ; | |
19 | local DIST_BIN = [ path.join $(DIST_DIR) bin ] ; | |
20 | ||
21 | exe auto_index : | |
22 | ../src/auto_index.cpp | |
23 | ../src/file_scanning.cpp | |
24 | ../src/index_generator.cpp | |
25 | ../src/tiny_xml.cpp | |
26 | /boost//regex | |
27 | /boost//filesystem | |
28 | /boost//system | |
29 | /boost//program_options | |
30 | : <define>BOOST_ALL_NO_LIB=1 <link>static release ; | |
31 | ||
32 | install aii : auto_index : <location>. ; | |
33 | explicit aii ; | |
34 | ||
35 | install i : auto_index : <location>$(DIST_BIN) ; |