Release 0.5.0

This commit is contained in:
Baptiste Lepilleur 2010-02-23 07:51:07 +00:00
commit 6283d0c7c1

View File

@ -96,7 +96,7 @@ def run_doxygen(doxygen_path, config_file, working_dir, is_silent):
try: try:
os.chdir( working_dir ) os.chdir( working_dir )
cmd = [doxygen_path, config_file] cmd = [doxygen_path, config_file]
print ' '.join( cmd ) print 'Running:', ' '.join( cmd )
try: try:
import subprocess import subprocess
except: except:
@ -155,9 +155,8 @@ def build_doc( options, make_release=False ):
do_subst_in_file( 'doc/doxyfile', 'doc/doxyfile.in', subst_keys ) do_subst_in_file( 'doc/doxyfile', 'doc/doxyfile.in', subst_keys )
ok = run_doxygen( options.doxygen_path, 'doc/doxyfile', 'doc', is_silent=options.silent ) ok = run_doxygen( options.doxygen_path, 'doc/doxyfile', 'doc', is_silent=options.silent )
print open(os.path.join('doc', warning_log_path), 'rb').read() if not options.silent:
if not ok: print open(os.path.join('doc', warning_log_path), 'rb').read()
print 'Doxygen generation failed'
index_path = os.path.abspath(os.path.join(subst_keys['%HTML_OUTPUT%'], 'index.html')) index_path = os.path.abspath(os.path.join(subst_keys['%HTML_OUTPUT%'], 'index.html'))
print 'Generated documentation can be found in:' print 'Generated documentation can be found in:'
print index_path print index_path