/[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 3342 by jfenwick, Fri Nov 5 03:20:19 2010 UTC revision 3343 by jfenwick, Wed Nov 10 02:01:29 2010 UTC
# Line 28  if 'PDF' in dir(local_env): Line 28  if 'PDF' in dir(local_env):
28          interaction='-interaction=batchmode'          interaction='-interaction=batchmode'
29    
30      # Define command to include SVN revision      # Define command to include SVN revision
31      local_env.Append(PDFLATEXFLAGS=[interaction,'\\\\newcommand{\\\\RepVersion}{%s\\\\xspace}\\\\input{guide.tex}'%(local_env['svn_revision'])])      local_env.Append(PDFLATEXFLAGS=[interaction,'\\\\newcommand{\\\\RepVersion}{%s\\\\xspace}\\\\input{user.tex}'%(local_env['svn_revision'])])
32      pdf=local_env.PDF(target='guide.pdf', source='guide.tex')      pdf=local_env.PDF(target='user.pdf', source='user.tex')
33      Depends(pdf, figures+tex_src)      Depends(pdf, figures+tex_src)
34    
35      pdf_path=os.path.join(release_dir, 'user', 'guide.pdf')      pdf_path=os.path.join(release_dir, 'user', 'user.pdf')
36      pdf_inst=local_env.InstallAs(target=pdf_path, source='guide.pdf')      pdf_inst=local_env.InstallAs(target=pdf_path, source='user.pdf')
37      env.Alias('guide_pdf', pdf_inst)      env.Alias('user_pdf', pdf_inst)
38  else:  else:
39      env.Alias('guide_pdf', '', 'echo "PDF output not supported!"')      env.Alias('user_pdf', '', 'echo "PDF output not supported!"')
40      env.AlwaysBuild('guide_pdf')      env.AlwaysBuild('user_pdf')
41    
42  # html version  # html version
43  #html_dir=os.path.join(release_dir,'user','html')  #html_dir=os.path.join(release_dir,'user','html')

Legend:
Removed from v.3342  
changed lines
  Added in v.3343

  ViewVC Help
Powered by ViewVC 1.1.26