- Timestamp:
- Jun 24, 2008, 4:09:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/update_anuga_user_manual.py
r5051 r5422 34 34 35 35 from os import system, chdir 36 from os.path import expanduser 37 from anuga.utilities.system_tools import get_revision_number 36 from os.path import expanduser, split, join 37 from anuga.utilities.system_tools import get_revision_number, get_pathname_from_package 38 38 from anuga.config import major_revision 39 39 from sys import argv 40 40 41 # Determine absolute path for user manual 41 42 42 anugapath = expanduser('~/inundation/anuga_core/documentation/user_manual') 43 # Path for ANUGA 44 anugapath = get_pathname_from_package('anuga') 45 46 # Strip trailing source/anuga of path 47 basepath = split(split(anugapath)[0])[0] 48 49 # Add local path to user_manual 50 docpath = join(join(basepath, 'documentation'), 'user_manual') 43 51 texfiles = ['anuga_user_manual', 'anuga_installation_guide'] 44 52 45 chdir(anugapath) # Move to location of LaTeX files 53 print 'Moving to', docpath 54 chdir(docpath) # Move to location of LaTeX files 46 55 system('svn update') # Update from svn 47 56
Note: See TracChangeset
for help on using the changeset viewer.