]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/geometry/doc/index/make_qbk.py
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / geometry / doc / index / make_qbk.py
CommitLineData
7c673cae
FG
1#! /usr/bin/env python
2# -*- coding: utf-8 -*-
3# ===========================================================================
4# Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands.
5# Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland.
6#
7# Use, modification and distribution is subject to the Boost Software License,
8# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
9# http://www.boost.org/LICENSE_1_0.txt)9
10# ============================================================================
11
12import os, sys
13
14cmd = "doxygen_xml2qbk"
15cmd = cmd + " --xml xml/%s.xml"
16cmd = cmd + " --start_include boost/"
17cmd = cmd + " --output_style alt"
18cmd = cmd + " > generated/%s.qbk"
19
20def run_command(command):
21 if os.system(command) != 0:
22 raise Exception("Error running %s" % command)
23
24def remove_all_files(dir):
25 if os.path.exists(dir):
26 for f in os.listdir(dir):
27 os.remove(dir+f)
28
29remove_all_files("xml/")
30
31run_command("doxygen Doxyfile")
32run_command(cmd % ("classboost_1_1geometry_1_1index_1_1rtree", "rtree"))
33run_command(cmd % ("group__rtree__functions", "rtree_functions"))
34
35run_command(cmd % ("structboost_1_1geometry_1_1index_1_1linear", "rtree_linear"))
36run_command(cmd % ("structboost_1_1geometry_1_1index_1_1quadratic", "rtree_quadratic"))
37run_command(cmd % ("structboost_1_1geometry_1_1index_1_1rstar", "rtree_rstar"))
38run_command(cmd % ("classboost_1_1geometry_1_1index_1_1dynamic__linear", "rtree_dynamic_linear"))
39run_command(cmd % ("classboost_1_1geometry_1_1index_1_1dynamic__quadratic", "rtree_dynamic_quadratic"))
40run_command(cmd % ("classboost_1_1geometry_1_1index_1_1dynamic__rstar", "rtree_dynamic_rstar"))
41
42run_command(cmd % ("structboost_1_1geometry_1_1index_1_1indexable", "indexable"))
43run_command(cmd % ("structboost_1_1geometry_1_1index_1_1equal__to", "equal_to"))
44
45run_command(cmd % ("group__predicates", "predicates"))
46#run_command(cmd % ("group__nearest__relations", "nearest_relations"))
47run_command(cmd % ("group__adaptors", "adaptors"))
48run_command(cmd % ("group__inserters", "inserters"))
49
50#run_command("b2")