Last change
on this file since 2620 was 1347, checked in by mar637, 18 years ago |
move to use latex builder; doc updates for 2.2
|
File size:
390 bytes
|
Rev | Line | |
---|
[1245] | 1 | import os,glob,shutil
|
---|
| 2 |
|
---|
| 3 | # import root environment
|
---|
| 4 | Import( "env")
|
---|
| 5 | myenv = env.Copy()
|
---|
[1347] | 6 |
|
---|
[1245] | 7 | if myenv["makedoc"].lower() == 'pdf':
|
---|
[1347] | 8 | dvif = myenv.File("userguide.tex")
|
---|
| 9 | pdf = env.PDF(dvif)
|
---|
[1245] | 10 | elif myenv["makedoc"].lower() == 'html':
|
---|
[1247] | 11 | if os.path.exists("/usr/bin/latex2html"):
|
---|
| 12 | myenv.Command("userguide","userguide.tex",
|
---|
| 13 | "/usr/bin/latex2html -local_icons $TARGET" )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.