NO-JIRA: python doc generator: add dependency on swig module for parallel 
builds.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/85015094
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/85015094
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/85015094

Branch: refs/heads/go1
Commit: 85015094edf2ed86bebf44f93d5eaa750b4f7d29
Parents: 1ccaf70
Author: Alan Conway <[email protected]>
Authored: Fri Dec 4 10:45:59 2015 -0500
Committer: Alan Conway <[email protected]>
Committed: Fri Dec 4 10:45:59 2015 -0500

----------------------------------------------------------------------
 proton-c/bindings/python/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/85015094/proton-c/bindings/python/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/CMakeLists.txt 
b/proton-c/bindings/python/CMakeLists.txt
index 18fbbd6..9c31b61 100644
--- a/proton-c/bindings/python/CMakeLists.txt
+++ b/proton-c/bindings/python/CMakeLists.txt
@@ -87,7 +87,8 @@ if (EPYDOC_EXE)
    add_custom_target(docs-py COMMAND ${PYTHON_EXECUTABLE} 
${CMAKE_CURRENT_SOURCE_DIR}/../../env.py --
      PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}:${CMAKE_CURRENT_SOURCE_DIR}
      ${EPYDOC_EXE} -v --no-private --html -o ${CMAKE_CURRENT_BINARY_DIR}/html
-     ${PY_DOC_FILES})
+     ${PY_DOC_FILES}
+     DEPENDENCIES ${SWIG_MODULE_${cproton}_REAL_NAME)
    add_dependencies(docs docs-py)
    install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html/"
            DESTINATION "${PROTON_SHARE}/docs/api-py"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to