summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-11-18 16:24:31 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-11-18 16:24:31 (GMT)
commit7e1d8adc4bf225691d0082b2286ad7a74a23c8e1 (patch)
treededadbac6debfa4e9843bf02aa970cbe176d56b7
parent5d4c562b4d59c87802c835795e874b176ba43942 (diff)
Welcome page requires additional stuff installed. Until that is fixed only build on request.
-rw-r--r--doc/CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 5a8ea54..d20d0e7 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -84,10 +84,13 @@ if(BUILD_KF5)
string(REPLACE "4.2" "4.5" index_file "${index_file}")
string(REPLACE "kdex.dtd" "kdedbx45.dtd" index_file "${index_file}")
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/welcome.docbook "${index_file}")
- kdoctools_create_article(${CMAKE_CURRENT_BINARY_DIR}/welcome.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR umbrello)
-
+ if(WITH_WELCOME_PAGE)
+ kdoctools_create_article(${CMAKE_CURRENT_BINARY_DIR}/welcome.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR umbrello)
+ endif()
else()
kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR umbrello)
- kdoctools_create_article(welcome.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR umbrello)
+ if(WITH_WELCOME_PAGE)
+ kdoctools_create_article(welcome.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR umbrello)
+ endif()
endif()