/[ascend]/trunk/doc/SConscript
ViewVC logotype

Diff of /trunk/doc/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 883 by johnpye, Tue Aug 22 01:34:33 2006 UTC revision 884 by johnpye, Tue Oct 10 14:56:31 2006 UTC
# Line 12  pdffigs = [] Line 12  pdffigs = []
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'
# Line 27  html = env.Command('html/index.html','bo Line 26  html = env.Command('html/index.html','bo
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    

Legend:
Removed from v.883  
changed lines
  Added in v.884

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22