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

Contents of /trunk/doc/user/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1811 - (show annotations)
Thu Sep 25 23:11:13 2008 UTC (10 years, 3 months ago) by ksteube
File size: 2656 byte(s)
Copyright updated in all files

1
2 ########################################################
3 #
4 # Copyright (c) 2003-2008 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
11 #
12 ########################################################
13
14
15 import os
16 Import('*')
17
18 local_env = clone_env(env)
19
20 latexmode='-interaction=nonstopmode'
21
22 tex_dir = local_env.Dir('.').srcnode().abspath
23 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'] ] + \
24 [ env.File('figures'+os.path.sep+x) for x in os.listdir(tex_dir+os.path.sep+'figures') if not x.startswith('.') ]
25
26 env.Command(env['prefix']+'/release/doc/user/guide.pdf',tex,
27 [ "latex %s guide.tex"%latexmode, \
28 "bibtex guide", \
29 "makeindex guide", \
30 "latex %s guide"%latexmode, \
31 "latex %s guide"%latexmode, \
32 "dvipdf guide.dvi %s"%env['prefix']+'/release/doc/user/guide.pdf' ],
33 chdir=tex_dir)
34 env.Alias('guide_pdf', env['prefix']+'/release/doc/user/guide.pdf')
35
36
37 env.Command(env['prefix']+'/release/doc/user/html/index.htm',tex, \
38 ["latex2html -top_navigation \
39 -bottom_navigation \
40 -index_in_navigation \
41 -contents_in_navigation \
42 -next_page_in_navigation \
43 -previous_page_in_navigation \
44 -title \"esys users guide\" \
45 -noshow_section_numbers \
46 -dir \"../../release/doc/user/html\" -mkdir \
47 -address \"esys@esscc.uq.edu.au\" \
48 -antialias_text -antialias -transparent \
49 -noshort_extn \
50 -up_url \"http://www.access.edu.au/escript\", \
51 -up_title \"escript\" guide.tex"], chdir=tex_dir)
52 env.Alias('guide_html', env['prefix']+'/release/doc/user/html/index.htm')
53

  ViewVC Help
Powered by ViewVC 1.1.26