12 |
for f in epsfigs: |
for f in epsfigs: |
13 |
st,ext = os.path.splitext(f) |
st,ext = os.path.splitext(f) |
14 |
pdffigs += env.Command(st+".pdf",f |
pdffigs += env.Command(st+".pdf",f |
15 |
,"epstopdf --outfile=$TARGET.file $SOURCE.file" |
,"epstopdf --outfile=$TARGET $SOURCE" |
|
,chdir=1 |
|
16 |
) |
) |
17 |
|
|
18 |
pdf = env.Command('book.pdf','book.tex' |
pdf = env.Command('book.pdf','book.tex' |
26 |
,chdir="doc" |
,chdir="doc" |
27 |
) |
) |
28 |
env.Depends(html,epsfigs) |
env.Depends(html,epsfigs) |
29 |
|
|
30 |
|
#------------------------ |
31 |
|
# install docs |
32 |
|
|
33 |
|
if env.get('CAN_INSTALL'): |
34 |
|
print "INSTALLING DOCS IN",env['INSTALL_ROOT']+env['INSTALL_DOC'] |
35 |
|
env.Install(env.subst(env['INSTALL_ROOT']+env['INSTALL_DOC']),pdf) |
36 |
|
|