viff

changeset 786:577722bda233

Delete doc/{api,html} to ensure a clean build.
author Martin Geisler <mg@daimi.au.dk>
date Sun, 25 May 2008 22:51:29 +0200
parents 8dfa5bf77c0f
children 975adfbdc443
files run.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/run.py	Sun May 25 22:41:55 2008 +0200
     1.2 +++ b/run.py	Sun May 25 22:51:29 2008 +0200
     1.3 @@ -24,7 +24,7 @@
     1.4  run the commands used when building releases of VIFF.
     1.5  """
     1.6  
     1.7 -import sys, os
     1.8 +import sys, os, shutil
     1.9  from os.path import isdir, join, getsize
    1.10  from subprocess import Popen
    1.11  from pprint import pprint
    1.12 @@ -102,9 +102,11 @@
    1.13      """Build a VIFF distribution."""
    1.14  
    1.15      # Generate HTML docs in doc/html.
    1.16 +    shutil.rmtree('doc/html')
    1.17      sphinx('doc')
    1.18  
    1.19      # Generate API docs in doc/api.
    1.20 +    shutil.rmtree('doc/api')
    1.21      epydoc('doc')
    1.22  
    1.23      # Retrieve the latest version of install.txt and authors.txt from