Changeset 3685

Show
Ignore:
Timestamp:
03/12/08 15:49:22 (5 weeks ago)
Author:
dmeyer
Message:

generate doc for sdist (does not work as it should)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/distribution/core.py

    r3679 r3685  
    512512        print 'generate ChangeLog' 
    513513        svn2log(kwargs.get('module', kwargs.get('name'))) 
     514        if os.path.isfile('doc/Makefile'): 
     515            # FIXME: this does not work in some cases. Sphinx requires the 
     516            # files in build to generate the doc files. The build directory 
     517            # itself is not required for sdist. 
     518            print 'generate doc' 
     519            os.system('(cd doc; make clean; make html)') 
    514520         
    515521    # delete 'module' information, not used by distutils.setup