/[escript]/trunk/doc/install/SConscript
ViewVC logotype

Diff of /trunk/doc/install/SConscript

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

revision 2922 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 2923 by jfenwick, Thu Feb 4 04:05:36 2010 UTC
# Line 20  local_env = clone_env(env) Line 20  local_env = clone_env(env)
20  latexmode='-interaction=nonstopmode'  latexmode='-interaction=nonstopmode'
21    
22  tex_dir = local_env.Dir('.').srcnode().abspath  tex_dir = local_env.Dir('.').srcnode().abspath
23    dir_cmd = "cd "+tex_dir+" && "
24  tex= [ env.File(x) for x in os.listdir(tex_dir) if not x.startswith('.') and not os.path.isdir(tex_dir+os.path.sep+x) and os.path.splitext(x)[1] in ['.tex', '.bib', '.sty', '.cfg', '.cls'] ] + \  tex= [ env.File(x) for x in os.listdir(tex_dir) if not x.startswith('.') and not os.path.isdir(tex_dir+os.path.sep+x) and os.path.splitext(x)[1] in ['.tex', '.bib', '.sty', '.cfg', '.cls'] ] + \
25       [ env.File('figures'+os.path.sep+x) for x in os.listdir(tex_dir+os.path.sep+'figures') if not x.startswith('.') ]       [ env.File('figures'+os.path.sep+x) for x in os.listdir(tex_dir+os.path.sep+'figures') if not x.startswith('.') ]
26    
# Line 31  tex= [ env.File(x) for x in os.listdir(t Line 32  tex= [ env.File(x) for x in os.listdir(t
32                #"dvipdf install.dvi %s"%env['prefix']+'/release/doc/install/install.pdf' ],                #"dvipdf install.dvi %s"%env['prefix']+'/release/doc/install/install.pdf' ],
33              #chdir=tex_dir)              #chdir=tex_dir)
34    
35  latexcmd="pdflatex %s \\\\newcommand{\\\\RepVersion}{`svnversion`\\\\xspace}\\\\input{install.tex}"%latexmode  latexcmd=dir_cmd+"pdflatex %s \\\\newcommand{\\\\RepVersion}{`svnversion`\\\\xspace}\\\\input{install.tex}"%latexmode
36    
37  env.Command(env['prefix']+'/doc/install/install.pdf',tex,  local_env.Command(env['prefix']+'/doc/install/install.pdf',tex,
38              [ latexcmd,  \              [ latexcmd,  \
39                "makeindex install",               \                dir_cmd+"makeindex install",               \
40                latexcmd,      \                latexcmd,      \
41                latexcmd],      \                latexcmd],      \
42              chdir=tex_dir)  #            chdir=tex_dir
43    )
44    
45  tmp=local_env.InstallAs(target=env['prefix']+'/release/doc/install/install.pdf', source=env['prefix']+'/doc/install/install.pdf')  tmp=local_env.InstallAs(target=env['prefix']+'/release/doc/install/install.pdf', source=env['prefix']+'/doc/install/install.pdf')
46    

Legend:
Removed from v.2922  
changed lines
  Added in v.2923

  ViewVC Help
Powered by ViewVC 1.1.26