Modifying hudson sphinx script to force clean

git-svn-id: https://svn.apache.org/repos/asf/incubator/chemistry/cmislib/trunk@1056070 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/doc/src/run-sphinx.py b/src/doc/src/run-sphinx.py
index d508256..d49040b 100755
--- a/src/doc/src/run-sphinx.py
+++ b/src/doc/src/run-sphinx.py
@@ -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")