Author: rhs
Date: Tue Oct 23 19:14:34 2012
New Revision: 1401395

URL: http://svn.apache.org/viewvc?rev=1401395&view=rev
Log:
make documentation optional on install

Modified:
    qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt
    qpid/proton/trunk/proton-c/docs/api/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=1401395&r1=1401394&r2=1401395&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt Tue Oct 23 
19:14:34 2012
@@ -28,7 +28,8 @@ if (EPYDOC_EXE)
    add_dependencies(docs docs-py)
    install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
            DESTINATION ${PROTON_SHARE}/docs/api-py
-           COMPONENT documentation)
+           COMPONENT documentation
+           OPTIONAL)
 endif (EPYDOC_EXE)
 
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cproton.py

Modified: qpid/proton/trunk/proton-c/docs/api/CMakeLists.txt
URL: 
http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/docs/api/CMakeLists.txt?rev=1401395&r1=1401394&r2=1401395&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/docs/api/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/docs/api/CMakeLists.txt Tue Oct 23 19:14:34 2012
@@ -27,7 +27,8 @@ if (DOXYGEN_FOUND)
   # HTML files are generated to ./html - put those in the install.
   install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
            DESTINATION ${PROTON_SHARE}/docs/api-c
-           COMPONENT documentation)
+           COMPONENT documentation
+           OPTIONAL)
   # if (CPACK_GENERATOR STREQUAL "NSIS")
   #     set (CPACK_NSIS_MENU_LINKS
   #          "${QPID_INSTALL_HTMLDIR}/index.html" "Qpid C++ API Documentation"



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

Reply via email to