|
Last change
on this file since 30 was
29,
checked in by landauf, 17 years ago
|
|
updated boost from 1_33_1 to 1_34_1
|
|
File size:
748 bytes
|
| Line | |
|---|
| 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 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.