Author: jpotts
Date: Wed Dec 8 21:08:59 2010
New Revision: 1043677
URL: http://svn.apache.org/viewvc?rev=1043677&view=rev
Log:
Overriding the Makefile with a version-free sphinx-build executable reference
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=1043677&r1=1043676&r2=1043677&view=diff
==============================================================================
--- incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py (original)
+++ incubator/chemistry/cmislib/trunk/src/doc/src/run-sphinx.py Wed Dec 8
21:08:59 2010
@@ -1,7 +1,7 @@
#!/usr/bin/python
import os
import sys
-print sys.path[0]
+os.environ['SPHINXBUILD']="sphinx-build"
os.environ['BUILDDIR']=sys.path[0] + "/../build"
os.environ['SOURCEDIR']=sys.path[0]
os.system("make -e --makefile=" + sys.path[0] + "/Makefile html")