summaryrefslogtreecommitdiff
path: root/docs/sphinx/run_sphinx_build.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sphinx/run_sphinx_build.sh.in')
-rw-r--r--docs/sphinx/run_sphinx_build.sh.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/sphinx/run_sphinx_build.sh.in b/docs/sphinx/run_sphinx_build.sh.in
new file mode 100644
index 000000000..bc89f2de7
--- /dev/null
+++ b/docs/sphinx/run_sphinx_build.sh.in
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+echo "Creating Sphinx documentation in: @CMAKE_CURRENT_BINARY_DIR@/sphinx_out"
+
+LD_LIBRARY_PATH="@CMAKE_INSTALL_PREFIX@/lib"
+@SPHINX_EXECUTABLE@ -b html -c @CMAKE_CURRENT_BINARY_DIR@/ @CMAKE_CURRENT_SOURCE_DIR@/source @CMAKE_CURRENT_BINARY_DIR@/sphinx_out
+