"examples/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "ec2e24be6dcc3bcc3d4ad5dff78212735f9db00f"
Commit 0a5d62d8 authored by Davis King's avatar Davis King
Browse files

Made makedocs recompile the python interface so sphinx can always use the current stuff.

parent 9e41955c
...@@ -136,9 +136,15 @@ makedocs () ...@@ -136,9 +136,15 @@ makedocs ()
# Create python docs. If we are making a release then stop immediately if # Create python docs. If we are making a release then stop immediately if
# the python docs can't be created (this happens if the .so file isn't compiled) # the python docs can't be created (this happens if the .so file isn't compiled)
if [ "$1" = "makerel" ] if [ "$1" = "makerel" ]
then then
pushd ../python_examples
./compile_dlib_python_module.bat || report_failure
popd
sphinx-build -b html docs/python sphinx.$$ || report_failure sphinx-build -b html docs/python sphinx.$$ || report_failure
else else
pushd ../python_examples
./compile_dlib_python_module.bat
popd
sphinx-build -b html docs/python sphinx.$$ sphinx-build -b html docs/python sphinx.$$
fi; fi;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment