chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpo...@apache.org
Subject svn commit: r1056070 - /incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py
Date Thu, 06 Jan 2011 20:50:41 GMT
Author: jpotts
Date: Thu Jan  6 20:50:40 2011
New Revision: 1056070

URL: http://svn.apache.org/viewvc?rev=1056070&view=rev
Log:
Modifying hudson sphinx script to force clean

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=1056070&r1=1056069&r2=1056070&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py (original)
+++ incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py Thu Jan  6 20:50:40 2011
@@ -2,6 +2,10 @@
 import os
 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 + "/*")
 os.system("make -e --makefile=" + sys.path[0] + "/Makefile html")



Mime
View raw message