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

Diff of /trunk/doc/user/SConscript

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

revision 2336 by jfenwick, Thu Mar 26 06:09:20 2009 UTC revision 2338 by jfenwick, Fri Mar 27 05:01:49 2009 UTC
# Line 28  tex= [ env.File(x) for x in os.listdir(t Line 28  tex= [ env.File(x) for x in os.listdir(t
28  figs=[ os.path.splitext(x)[0] for x in os.listdir(tex_dir+os.path.sep+'figures') if not x.startswith('.') and os.path.splitext(x)[1] in ['.eps']]  figs=[ os.path.splitext(x)[0] for x in os.listdir(tex_dir+os.path.sep+'figures') if not x.startswith('.') and os.path.splitext(x)[1] in ['.eps']]
29    
30    
31    latexcmd="pdflatex %s \\\\newcommand{\\\\RepVersion}{`svnversion`\\\\xspace}\\\\input{guide.tex}"%latexmode
32    
33  env.Command('guide.pdf',tex,  env.Command('guide.pdf',tex,
34              [ "epstopdf "+os.path.join('figures',name+".eps")+" -o "\              [ "epstopdf "+os.path.join('figures',name+".eps")+" -o "\
35            +os.path.join('figures',name+".pdf") for name in figs ]+ \            +os.path.join('figures',name+".pdf") for name in figs ]+ \
36          [ "pdflatex %s guide.tex"%latexmode,  \          [ latexcmd,  \
37                "bibtex guide",                  \                "bibtex guide",                  \
38                "makeindex guide",               \                "makeindex guide",               \
39                "pdflatex %s guide"%latexmode,      \                latexcmd,      \
40                "pdflatex %s guide"%latexmode],      \                latexcmd],      \
41              chdir=tex_dir)              chdir=tex_dir)
42    
43  tmp=local_env.InstallAs(target=env['prefix']+'/release/doc/user/guide.pdf', source='guide.pdf')  tmp=local_env.InstallAs(target=env['prefix']+'/release/doc/user/guide.pdf', source='guide.pdf')

Legend:
Removed from v.2336  
changed lines
  Added in v.2338

  ViewVC Help
Powered by ViewVC 1.1.26