From c71ed6fccbd3e62c9ed9b54631dedc21a33addcf Mon Sep 17 00:00:00 2001 From: tqchen Date: Sat, 22 Aug 2015 21:37:14 -0700 Subject: [PATCH] try deply doxygen --- doc/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 142a65db4..ef89de489 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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: