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

Diff of /trunk/doc/cookbook/SConscript

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

revision 3603 by caltinay, Tue Jan 25 01:53:57 2011 UTC revision 3604 by caltinay, Mon Sep 19 04:47:53 2011 UTC
# Line 17  local_env = env.Clone(tools=['pdflatex'] Line 17  local_env = env.Clone(tools=['pdflatex']
17    
18  tex_src = Glob('*.tex')+Glob('*.bib')+Glob('*.cls')  tex_src = Glob('*.tex')+Glob('*.bib')+Glob('*.cls')
19  fig_src = Glob('figures/*.png')+Glob('figures/*.pdf')  fig_src = Glob('figures/*.png')+Glob('figures/*.pdf')
20    if local_env['pdflatex']:
 if 'PDF' in dir(local_env):  
21      if local_env['verbose']:      if local_env['verbose']:
22          interaction='-interaction=nonstopmode'          interaction='-interaction=nonstopmode'
23      else:      else:
# Line 33  if 'PDF' in dir(local_env): Line 32  if 'PDF' in dir(local_env):
32      pdf_inst=local_env.InstallAs(target=pdf_path, source=cbpdf)      pdf_inst=local_env.InstallAs(target=pdf_path, source=cbpdf)
33      env.Alias('cookbook_pdf', pdf_inst)      env.Alias('cookbook_pdf', pdf_inst)
34  else:  else:
35      env.Alias('cookbook_pdf', '', 'echo "PDF output not supported!"')      env.Alias('cookbook_pdf', '', '@echo "Not building cookbook: PDF output not supported!"')
36      env.AlwaysBuild('cookbook_pdf')      env.AlwaysBuild('cookbook_pdf')
37    

Legend:
Removed from v.3603  
changed lines
  Added in v.3604

  ViewVC Help
Powered by ViewVC 1.1.26