Changeset 3934


Ignore:
Timestamp:
Nov 7, 2006, 4:46:20 PM (17 years ago)
Author:
ole
Message:

Small fixes

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/documentation/user_manual/anuga_installation_guide.tex

    r3921 r3934  
    6262    \begin{itemize} 
    6363      \item Enthought version of Python2.4: \url{http://code.enthought.com/enthon/}.
    64       \item Scientific Python: \url{http://sourcesup.cru.fr/frs/download.php/745/ScientificPython-2.4.9.win32-py2.4.exe}
     64      \item Scientific Python:\\
     65       \url{http://sourcesup.cru.fr/frs/download.php/745/ScientificPython-2.4.9.win32-py2.4.exe}
    6566      \item NETCDF \url{ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.6.1-beta1-win32dll.zip}
    6667    \end{itemize}   
     
    109110To verify that the installed version of ANUGA validates satisfactorily
    110111against the Okushiri Island wave tank validation dataset
    111 (\url{http://www.cee.cornell.edu/longwave/index.cfm?page=benchmark&problem=2})
     112(\url{http://www.cee.cornell.edu/longwave})
    112113unpack the distribution (\code{anuga_validation_1.0_xxxx.tgz}) into
    113114any directory and run the scripts \code{create_okushiri.py},
  • anuga_core/documentation/user_manual/update_anuga_user_manual.py

    r3923 r3934  
    5454    # Compile with LaTeX, makeindex etc
    5555    for i in range(3):
    56         #os.system('latex --interaction=nonstopmode %s.tex' %texfile)
    57         os.system('pdflatex --interaction=nonstopmode %s.tex' %texfile)
    58         os.system('makeindex %s.idx' %texfile)
    59         os.system('makeindex mod%s.idx' %texfile)
    60         os.system('bibtex %s' %texfile)   
     56        #system('latex --interaction=nonstopmode %s.tex' %texfile)
     57        system('pdflatex --interaction=nonstopmode %s.tex' %texfile)
     58        system('makeindex %s.idx' %texfile)
     59        system('makeindex mod%s.idx' %texfile)
     60        system('bibtex %s' %texfile)   
    6161
    6262    # Create pdf file
    63     #os.system('dvips %s -o %s.ps' %((texfile,)*2))   
    64     #os.system('ps2pdf %s.ps' %texfile)   
     63    #system('dvips %s -o %s.ps' %((texfile,)*2))   
     64    #system('ps2pdf %s.ps' %texfile)   
    6565     
    6666    # Create html pages
  • create_distribution.py

    r3922 r3934  
    3333last_line = fid.readlines()[-1]
    3434remove(filename)
    35 if not last_line.startswith('At revision'):
     35if not (last_line.startswith('At revision') or\
     36        last_line.startswith('Updated to revision')):
    3637    msg = 'Unexpected output from svn up: %s' %last_line
    3738    raise Exception, msg   
    3839
    39 svn_revision = last_line[12:-2]
     40fields = last_line.split()
     41svn_revision = fields[-1][:-1]
    4042
    4143revision = '%s_%s' %(major_revision, svn_revision)
     44
     45print 'Creating ANUGA revision %s' %revision
    4246
    4347distro_filename = 'anuga-%s.tgz' %revision
     
    145149print 'The release files are in %s:' %release_dir
    146150system('ls -la %s' %release_dir)
     151
     152
     153
     154#----------------------------
     155# Throw away code to drop all files into the RAMP download area
     156# This is hardwired for Ole
     157
     158system('scp %s/*.tgz onielsen@cyclone:/d/cit/1/cit/risk_assessment_methods_project/downloads/ANUGA_install/anuga' %release_dir)
     159
     160system('scp %s/*.pdf onielsen@cyclone:/d/cit/1/cit/risk_assessment_methods_project/downloads/ANUGA_install' %release_dir)
Note: See TracChangeset for help on using the changeset viewer.