try deply doxygen

This commit is contained in:
tqchen 2015-08-22 21:37:14 -07:00
parent 62e5647a33
commit c71ed6fccb

View File

@ -154,8 +154,10 @@ def run_build_lib(folder):
"""Run the doxygen make command in the designated folder."""
try:
retcode = subprocess.call("cd %s; make" % folder, shell=True)
retcode = subprocess.call("rm -rf _buid/html/doxygen", shell=True)
retcode = subprocess.call("cp -rf doxygen/html _buid/html/doxygen", shell=True)
retcode = subprocess.call("rm -rf _build/html/doxygen", shell=True)
retcode = subprocess.call("mkdir _build", shell=True)
retcode = subprocess.call("mkdir _build/html", shell=True)
retcode = subprocess.call("cp -rf doxygen/html _build/html/doxygen", shell=True)
if retcode < 0:
sys.stderr.write("build terminated by signal %s" % (-retcode))
except OSError as e: