/[escript]/branches/lapack2681/autodocs.sh
ViewVC logotype

Diff of /branches/lapack2681/autodocs.sh

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

revision 1705 by ksteube, Thu Aug 14 05:56:40 2008 UTC revision 2110 by ksteube, Fri Nov 28 05:55:00 2008 UTC
# Line 19  Line 19 
19  #   latex  #   latex
20  #   latex2html  #   latex2html
21    
22    export PATH="/home/Work/InstallArea/python-2.4.4/bin:$PATH"
23    export LD_LIBRARY_PATH="$DIR/sandbox/trunk/lib:/home/Work/InstallArea/python-2.4.4/lib"
24    export PYTHONPATH="$DIR/sandbox/trunk:/home/Work/InstallArea/numarray-1.5.2/lib"
25    
26  DIR="/home/Work/EscriptDev/Documentation"  DIR="/home/Work/EscriptDev/Documentation"
27    
28  START=`date '+%Y/%m/%d %H:%M'`  START=`date '+%Y/%m/%d %H:%M'`
29  RunDate=`date '+%Y_%m_%d'`  RunDate=`date '+%Y_%m_%d'`
30    
31  scons='/home/ksteube/s/InstallArea/bin/scons'  prependpath    () { test -d "$1" && export PATH="$1:$PATH"; }
32    prependldpath  () { test -d "$1" && export LD_LIBRARY_PATH="$1:$LD_LIBRARY_PATH"; }
33    prependpypath  () { test -d "$1" && export PYTHONPATH="$1:$PYTHONPATH"; }
34    
35    # For compiling and running Escript
36    unset          PYTHONSTARTUP
37    export         PYTHONHOME=/home/Work/InstallArea/python-2.4.4
38    prependpath    /home/Work/InstallArea/python-2.4.4/bin
39    prependldpath  /home/Work/InstallArea/python-2.4.4/lib
40    prependpath    /home/Work/InstallArea/scons-0.98.5/bin
41    prependpypath  /home/Work/InstallArea/numarray-1.5.2/lib
42    prependldpath  /home/Work/InstallArea/mesa-7.0.3/usr/local/lib
43    prependldpath  /home/Work/InstallArea/vtk-5.0.4/lib
44    prependpypath  /home/Work/InstallArea/vtk-5.0.4/lib/python2.4/site-packages
45    prependpath    /home/Work/InstallArea/mpich2-1.0.7/bin
46    prependpath    /home/Work/InstallArea/mayavi-1.5/bin
47    prependpath    /home/Work/InstallArea/visit1.10.0/bin
48    prependpypath  /home/Work/InstallArea/epydoc-3.0.1/lib/python2.4/site-packages
49    prependpath    /home/Work/InstallArea/epydoc-3.0.1/bin
50    
51    
52  finish () {  finish () {
53    # state will be 'FAILURE' or 'SUCCESS'    # state will be 'FAILURE' or 'SUCCESS'
# Line 34  finish () { Line 57  finish () {
57    cd $DIR    cd $DIR
58    /bin/rm -rf sandbox    /bin/rm -rf sandbox
59    END=`date '+%Y/%m/%d %H:%M'`    END=`date '+%Y/%m/%d %H:%M'`
60    cat << END_MSG | mail -s "ESYS_TESTS docs $RunDate $state" k.steube@uq.edu.au    # cat << END_MSG | mail -s "ESYS_TESTS docs $RunDate $state" k.steube@uq.edu.au j.fenwick1@uq.edu.au
61      cat << END_MSG | mail -s "ESYS_TESTS docs $RunDate $state" k.steube@uq.edu.au kensteube@gmail.com
62  $2.  $2.
63  The tests ran from $START to $END  The tests ran from $START to $END
64  See the log file $DIR/log for info  See the log file $DIR/log for info
# Line 58  cd sandbox     || finish FAILURE "Could not Line 82  cd sandbox     || finish FAILURE "Could not
82  echo "Checking out esys13/trunk from Subversion"  echo "Checking out esys13/trunk from Subversion"
83  svn checkout https://shake200.esscc.uq.edu.au/svn/esys13/trunk || finish FAILURE "Could not checkout esys13/trunk"  svn checkout https://shake200.esscc.uq.edu.au/svn/esys13/trunk || finish FAILURE "Could not checkout esys13/trunk"
84    
 export LD_LIBRARY_PATH="$DIR/sandbox/trunk/lib"  
 export PYTHONPATH="$DIR/sandbox/trunk"  
   
85  # Generate documentation  # Generate documentation
86  echo "Generating documentation"  echo "Generating documentation"
87    
88  cd trunk                            || finish FAILURE "Could not cd to trunk"  cd trunk                            || finish FAILURE "Could not cd to trunk"
89  mkdir release release/doc                   || finish FAILURE "Could not create release directory"  mkdir release release/doc                   || finish FAILURE "Could not create release directory"
90  $scons usedebug=yes usempi=no docs              || finish FAILURE "Could not run scons docs"  scons usedebug=yes usempi=no usewarnings=no docs        || finish FAILURE "Could not run scons docs"
91  scp -r release/doc/* shake200:/home/www/esys/esys13/nightly || finish FAILURE "Could not copy documentation to nightly area"  scp -r release/doc/* shake200:/home/www/esys/esys13/nightly || finish FAILURE "Could not copy documentation to nightly area"
92    
93  echo "Cleaning up"  echo "Cleaning up"

Legend:
Removed from v.1705  
changed lines
  Added in v.2110

  ViewVC Help
Powered by ViewVC 1.1.26