You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by jp...@apache.org on 2011/01/17 18:38:19 UTC
svn commit: r1060020 -
/incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py
Author: jpotts
Date: Mon Jan 17 17:38:19 2011
New Revision: 1060020
URL: http://svn.apache.org/viewvc?rev=1060020&view=rev
Log:
Tweaking doc build script
Modified:
incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py
Modified: incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py
URL: http://svn.apache.org/viewvc/incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py?rev=1060020&r1=1060019&r2=1060020&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py (original)
+++ incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py Mon Jan 17 17:38:19 2011
@@ -4,8 +4,8 @@ import sys
os.environ['SPHINXBUILD']="sphinx-build"
build_dir = sys.path[0] + "/../build"
os.environ['BUILDDIR']=build_dir
-os.environ['BUILDDIR']=sys.path[0] + "/../build"
os.environ['SOURCEDIR']=sys.path[0]
# force a clean every time
-os.system("rm -rf " + build_dir + "/*")
+print "Removing build dir: %s" % build_dir
+os.system("rm -rf " + build_dir)
os.system("make -e --makefile=" + sys.path[0] + "/Makefile html")