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

Diff of /trunk/doc/SConscript

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

revision 1796 by jfenwick, Wed Sep 17 01:45:46 2008 UTC revision 2287 by jfenwick, Tue Feb 24 04:29:17 2009 UTC
# Line 1  Line 1 
1    
2    ########################################################
3  #  #
4  # $Id$  # Copyright (c) 2003-2008 by University of Queensland
5  #  # Earth Systems Science Computational Center (ESSCC)
6  #######################################################  # http://www.uq.edu.au/esscc
 #  
 #           Copyright 2003-2007 by ACceSS MNRF  
 #       Copyright 2007 by University of Queensland  
 #  
 #                http://esscc.uq.edu.au  
 #        Primary Business: Queensland, Australia  
 #  Licensed under the Open Software License version 3.0  
 #     http://www.opensource.org/licenses/osl-3.0.php  
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  import os
16  Import('*')  Import('*')
# Line 23  local_env = clone_env(env) Line 21  local_env = clone_env(env)
21  src_dir = local_env.Dir('examples').srcnode().abspath  src_dir = local_env.Dir('examples').srcnode().abspath
22  example_files = os.popen("find " + src_dir + " -name .svn -prune -o -type f -print").read().split(None)  example_files = os.popen("find " + src_dir + " -name .svn -prune -o -type f -print").read().split(None)
23    
24  if 'Zip' in dir(env): env.Zip('#release/doc/escript_examples.zip', example_files)  tmp1 = env.Command("release/doc/escript_examples.zip", None, "zip release/doc/escript_examples.zip "+" ".join(example_files))
25  env.Alias('examples_zipfile', '#release/doc/escript_examples.zip')  env.Alias('examples_zipfile', tmp1)
26    
27  env=Environment(TARFLAGS = '-c -z')  env=Environment(TARFLAGS = '-c -z')
28  if 'Tar' in dir(env): env.Tar('#release/doc/escript_examples.tar.gz', example_files)  if 'Tar' in dir(env): env.Tar('#release/doc/escript_examples.tar.gz', example_files)
# Line 33  env.Alias('examples_tarfile', '#release/ Line 31  env.Alias('examples_tarfile', '#release/
31  local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)  local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)
32  local_env.SConscript(dirs = ['#/doc/epydoc'], build_dir='#/build/$PLATFORM/doc/epydoc', duplicate=1)  local_env.SConscript(dirs = ['#/doc/epydoc'], build_dir='#/build/$PLATFORM/doc/epydoc', duplicate=1)
33  local_env.SConscript(dirs = ['#/doc/doxygen'], build_dir='#/build/$PLATFORM/doc/doxygen', duplicate=1)  local_env.SConscript(dirs = ['#/doc/doxygen'], build_dir='#/build/$PLATFORM/doc/doxygen', duplicate=1)
34    local_env.SConscript(dirs = ['#/doc/install'], build_dir='#/build/$PLATFORM/doc/install', duplicate=1)
35    

Legend:
Removed from v.1796  
changed lines
  Added in v.2287

  ViewVC Help
Powered by ViewVC 1.1.26