forked from boostorg/iterator
Cleaned up some of Jeremy's wording. Added a few comments on changes
from the accepted paper. Committed Python doc regeneration scripts. [SVN r21079]
This commit is contained in:
29
doc/generate.py
Normal file
29
doc/generate.py
Normal file
@ -0,0 +1,29 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
#
|
||||
# Generate html, TeX, and PDF versions of all the source files
|
||||
#
|
||||
import os
|
||||
import sys
|
||||
|
||||
from syscmd import syscmd
|
||||
from sources import sources
|
||||
|
||||
if 0:
|
||||
for s in sources:
|
||||
syscmd('boosthtml %s' % s)
|
||||
else:
|
||||
extensions = ('html', 'tex', 'pdf')
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
extensions = sys.argv[1:]
|
||||
|
||||
all = [ '%s.%s' % (os.path.splitext(s)[0],ext)
|
||||
for ext in extensions
|
||||
for s in sources
|
||||
]
|
||||
|
||||
print 'make %s' % ' '.join(all)
|
||||
syscmd('make %s' % ' '.join(all))
|
||||
|
||||
|
Reference in New Issue
Block a user