]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/iterator/doc/generate.py
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / iterator / doc / generate.py
1 #!/usr/bin/python
2 # Copyright David Abrahams 2004. Use, modification and distribution is
3 # subject to the Boost Software License, Version 1.0. (See accompanying
4 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #
7 # Generate html, TeX, and PDF versions of all the source files
8 #
9 import os
10 import sys
11
12 from syscmd import syscmd
13 from sources import sources
14
15 if 0:
16 for s in sources:
17 syscmd('boosthtml %s' % s)
18 else:
19 extensions = ('html', 'pdf')
20
21 if len(sys.argv) > 1:
22 extensions = sys.argv[1:]
23
24 all = [ '%s.%s' % (os.path.splitext(s)[0],ext)
25 for ext in extensions
26 for s in sources
27 ]
28
29 print 'make %s' % ' '.join(all)
30 syscmd('make %s' % ' '.join(all))
31
32