Author: rhs
Date: Tue Oct 23 17:54:03 2012
New Revision: 1401364
URL: http://svn.apache.org/viewvc?rev=1401364&view=rev
Log:
fixed epydoc generation to work without PYTHONPATH
Modified:
qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt
Modified: qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt?rev=1401364&r1=1401363&r2=1401364&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt Tue Oct 23
17:54:03 2012
@@ -22,7 +22,9 @@ install(CODE "execute_process(COMMAND ${
find_program(EPYDOC_EXE epydoc)
if (EPYDOC_EXE)
- add_custom_target(docs-py COMMAND ${EPYDOC_EXE} --no-private --html -o
${CMAKE_CURRENT_BINARY_DIR}/html proton)
+ add_custom_target(docs-py COMMAND ${EPYDOC_EXE} --no-private --html
+ -o ${CMAKE_CURRENT_BINARY_DIR}/html
+ ${CMAKE_CURRENT_SOURCE_DIR}/proton.py)
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]