Remove CMakeLists.txt for doc

Move doc directory up a level from kdbg/doc
Add macro call to source root CMakeLists.txt
Remove tde_conditional_add_subdirectory() macro call for doc

Signed-off-by: Ray-V <ray-v@inbox.lv>
pull/9/head
Ray-V 3 years ago committed by Slávek Banko
parent c9d8d7c859
commit ae6f042898
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -72,6 +72,11 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
##### directories
add_subdirectory( ${PROJECT_NAME} )
##### other data ################################
tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )

@ -1,4 +1,3 @@
tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_TESTPROGS testprogs )
add_subdirectory( typetables )

@ -1 +0,0 @@
tde_add_project_docs()

@ -1,8 +0,0 @@
file( GLOB _htmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html )
install(
FILES ${_htmls}
DESTINATION ${HTML_INSTALL_DIR}/de/${PROJECT_NAME}
)

@ -1,8 +0,0 @@
file( GLOB _htmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html )
install(
FILES ${_htmls}
DESTINATION ${HTML_INSTALL_DIR}/en/${PROJECT_NAME}
)

@ -1,8 +0,0 @@
file( GLOB _htmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html )
install(
FILES ${_htmls}
DESTINATION ${HTML_INSTALL_DIR}/ru/${PROJECT_NAME}
)
Loading…
Cancel
Save