/[escript]/branches/arrayview_from_1695_trunk/doc/user/SConscript
ViewVC logotype

Contents of /branches/arrayview_from_1695_trunk/doc/user/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1781 - (show annotations)
Thu Sep 11 05:03:14 2008 UTC (10 years, 11 months ago) by jfenwick
File size: 2679 byte(s)
Branch commit

Merged changes from trunk version 1695 up to and including version 1779.


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

  ViewVC Help
Powered by ViewVC 1.1.26