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

Annotation of /trunk/doc/user/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1388 - (hide annotations)
Fri Jan 11 07:45:58 2008 UTC (12 years, 1 month ago) by trankine
File size: 2554 byte(s)
And get the *(&(*&(* name right
1 gross 708 # Scons configuration file for documentation
2    
3     # Copyright 2006 by ACcESS MNRF
4     #
5     # http://www.access.edu.au
6     # Primary Business: Queensland, Australia
7     # Licensed under the Open Software License version 3.0
8     # http://www.opensource.org/licenses/osl-3.0.php
9     #
10     #
11     #
12     # builds the user's guide
13     latexmode='-interaction=nonstopmode'
14     import os
15     Import('*')
16    
17     local_env=env.Copy()
18     tex_dir = local_env.Dir('.').srcnode().abspath
19     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'] ] + \
20     [ env.File('figures'+os.path.sep+x) for x in os.listdir(tex_dir+os.path.sep+'figures') if not x.startswith('.') ]
21    
22     env.Command(guide_pdf,tex,
23     [ "latex %s guide.tex"%latexmode, \
24     "bibtex guide", \
25     "makeindex guide", \
26     "latex %s guide"%latexmode, \
27     "latex %s guide"%latexmode, \
28     "dvipdf guide.dvi %s"%guide_pdf ],
29     chdir=tex_dir)
30    
31    
32     env.Command(guide_html_index,tex,
33     "latex2html -top_navigation \
34     -bottom_navigation \
35     -index_in_navigation \
36     -contents_in_navigation \
37     -next_page_in_navigation \
38     -previous_page_in_navigation \
39     -title \"esys user's guide\" \
40     -noshow_section_numbers \
41     -dir %s -mkdir \
42     -address \"esys@esscc.uq.edu.au\" \
43     -antialias_text -antialias -transparent \
44     -noshort_extn \
45     -up_url \"http://www.access.edu.au/escript\", -up_title \"escript\" guide.tex"%os.path.splitext(str(guide_html_index))[0],
46     chdir=tex_dir)

  ViewVC Help
Powered by ViewVC 1.1.26