Do not build org and com theming when building from tar ball

Fixes #989
This commit is contained in:
Daniel Molkentin 2013-09-12 12:55:12 +02:00
parent 574e029254
commit b488ad12c2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ if(SPHINX_FOUND)
add_custom_target(doc DEPENDS doc-html doc-man COMMENT "Building documentation...")
endif(WITH_DOC)
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/ocdoc")
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/ocdoc/_shared_assets")
add_dependencies(doc doc-html-org)
add_dependencies(doc doc-html-com)
endif()