From ae6f04289851574f38aedbd4666f7154cc67cad3 Mon Sep 17 00:00:00 2001 From: Ray-V Date: Sun, 13 Jun 2021 21:47:32 +0100 Subject: [PATCH] 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 --- CMakeLists.txt | 5 +++++ {kdbg/doc => doc}/de/argspwdenv.html | 0 {kdbg/doc => doc}/de/breakptlist.html | 0 {kdbg/doc => doc}/de/globaloptions.html | 0 {kdbg/doc => doc}/de/howdoi.html | 0 {kdbg/doc => doc}/de/index.html | 0 {kdbg/doc => doc}/de/localvars.html | 0 {kdbg/doc => doc}/de/memory.html | 0 {kdbg/doc => doc}/de/pgmoutput.html | 0 {kdbg/doc => doc}/de/pgmsettings.html | 0 {kdbg/doc => doc}/de/registers.html | 0 {kdbg/doc => doc}/de/sourcecode.html | 0 {kdbg/doc => doc}/de/stack.html | 0 {kdbg/doc => doc}/de/threads.html | 0 {kdbg/doc => doc}/de/tips.html | 0 {kdbg/doc => doc}/de/watches.html | 0 {kdbg/doc => doc}/en/argspwdenv.html | 0 {kdbg/doc => doc}/en/breakptlist.html | 0 {kdbg/doc => doc}/en/globaloptions.html | 0 {kdbg/doc => doc}/en/howdoi.html | 0 {kdbg/doc => doc}/en/index.html | 0 {kdbg/doc => doc}/en/invocation.html | 0 {kdbg/doc => doc}/en/localvars.html | 0 {kdbg/doc => doc}/en/memory.html | 0 {kdbg/doc => doc}/en/pgmoutput.html | 0 {kdbg/doc => doc}/en/pgmsettings.html | 0 {kdbg/doc => doc}/en/registers.html | 0 {kdbg/doc => doc}/en/sourcecode.html | 0 {kdbg/doc => doc}/en/stack.html | 0 {kdbg/doc => doc}/en/threads.html | 0 {kdbg/doc => doc}/en/tips.html | 0 {kdbg/doc => doc}/en/types.html | 0 {kdbg/doc => doc}/en/watches.html | 0 {kdbg/doc => doc}/en/xslt.html | 0 {kdbg/doc => doc}/man/kdbg.1 | 0 {kdbg/doc => doc}/ru/argspwdenv.html | 0 {kdbg/doc => doc}/ru/breakptlist.html | 0 {kdbg/doc => doc}/ru/globaloptions.html | 0 {kdbg/doc => doc}/ru/howdoi.html | 0 {kdbg/doc => doc}/ru/index.html | 0 {kdbg/doc => doc}/ru/localvars.html | 0 {kdbg/doc => doc}/ru/memory.html | 0 {kdbg/doc => doc}/ru/pgmoutput.html | 0 {kdbg/doc => doc}/ru/pgmsettings.html | 0 {kdbg/doc => doc}/ru/registers.html | 0 {kdbg/doc => doc}/ru/sourcecode.html | 0 {kdbg/doc => doc}/ru/stack.html | 0 {kdbg/doc => doc}/ru/threads.html | 0 {kdbg/doc => doc}/ru/tips.html | 0 {kdbg/doc => doc}/ru/types.html | 0 {kdbg/doc => doc}/ru/watches.html | 0 kdbg/CMakeLists.txt | 1 - kdbg/doc/CMakeLists.txt | 1 - kdbg/doc/de/CMakeLists.txt | 8 -------- kdbg/doc/en/CMakeLists.txt | 8 -------- kdbg/doc/ru/CMakeLists.txt | 8 -------- 56 files changed, 5 insertions(+), 26 deletions(-) rename {kdbg/doc => doc}/de/argspwdenv.html (100%) rename {kdbg/doc => doc}/de/breakptlist.html (100%) rename {kdbg/doc => doc}/de/globaloptions.html (100%) rename {kdbg/doc => doc}/de/howdoi.html (100%) rename {kdbg/doc => doc}/de/index.html (100%) rename {kdbg/doc => doc}/de/localvars.html (100%) rename {kdbg/doc => doc}/de/memory.html (100%) rename {kdbg/doc => doc}/de/pgmoutput.html (100%) rename {kdbg/doc => doc}/de/pgmsettings.html (100%) rename {kdbg/doc => doc}/de/registers.html (100%) rename {kdbg/doc => doc}/de/sourcecode.html (100%) rename {kdbg/doc => doc}/de/stack.html (100%) rename {kdbg/doc => doc}/de/threads.html (100%) rename {kdbg/doc => doc}/de/tips.html (100%) rename {kdbg/doc => doc}/de/watches.html (100%) rename {kdbg/doc => doc}/en/argspwdenv.html (100%) rename {kdbg/doc => doc}/en/breakptlist.html (100%) rename {kdbg/doc => doc}/en/globaloptions.html (100%) rename {kdbg/doc => doc}/en/howdoi.html (100%) rename {kdbg/doc => doc}/en/index.html (100%) rename {kdbg/doc => doc}/en/invocation.html (100%) rename {kdbg/doc => doc}/en/localvars.html (100%) rename {kdbg/doc => doc}/en/memory.html (100%) rename {kdbg/doc => doc}/en/pgmoutput.html (100%) rename {kdbg/doc => doc}/en/pgmsettings.html (100%) rename {kdbg/doc => doc}/en/registers.html (100%) rename {kdbg/doc => doc}/en/sourcecode.html (100%) rename {kdbg/doc => doc}/en/stack.html (100%) rename {kdbg/doc => doc}/en/threads.html (100%) rename {kdbg/doc => doc}/en/tips.html (100%) rename {kdbg/doc => doc}/en/types.html (100%) rename {kdbg/doc => doc}/en/watches.html (100%) rename {kdbg/doc => doc}/en/xslt.html (100%) rename {kdbg/doc => doc}/man/kdbg.1 (100%) rename {kdbg/doc => doc}/ru/argspwdenv.html (100%) rename {kdbg/doc => doc}/ru/breakptlist.html (100%) rename {kdbg/doc => doc}/ru/globaloptions.html (100%) rename {kdbg/doc => doc}/ru/howdoi.html (100%) rename {kdbg/doc => doc}/ru/index.html (100%) rename {kdbg/doc => doc}/ru/localvars.html (100%) rename {kdbg/doc => doc}/ru/memory.html (100%) rename {kdbg/doc => doc}/ru/pgmoutput.html (100%) rename {kdbg/doc => doc}/ru/pgmsettings.html (100%) rename {kdbg/doc => doc}/ru/registers.html (100%) rename {kdbg/doc => doc}/ru/sourcecode.html (100%) rename {kdbg/doc => doc}/ru/stack.html (100%) rename {kdbg/doc => doc}/ru/threads.html (100%) rename {kdbg/doc => doc}/ru/tips.html (100%) rename {kdbg/doc => doc}/ru/types.html (100%) rename {kdbg/doc => doc}/ru/watches.html (100%) delete mode 100644 kdbg/doc/CMakeLists.txt delete mode 100644 kdbg/doc/de/CMakeLists.txt delete mode 100644 kdbg/doc/en/CMakeLists.txt delete mode 100644 kdbg/doc/ru/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f64587..ac459d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/kdbg/doc/de/argspwdenv.html b/doc/de/argspwdenv.html similarity index 100% rename from kdbg/doc/de/argspwdenv.html rename to doc/de/argspwdenv.html diff --git a/kdbg/doc/de/breakptlist.html b/doc/de/breakptlist.html similarity index 100% rename from kdbg/doc/de/breakptlist.html rename to doc/de/breakptlist.html diff --git a/kdbg/doc/de/globaloptions.html b/doc/de/globaloptions.html similarity index 100% rename from kdbg/doc/de/globaloptions.html rename to doc/de/globaloptions.html diff --git a/kdbg/doc/de/howdoi.html b/doc/de/howdoi.html similarity index 100% rename from kdbg/doc/de/howdoi.html rename to doc/de/howdoi.html diff --git a/kdbg/doc/de/index.html b/doc/de/index.html similarity index 100% rename from kdbg/doc/de/index.html rename to doc/de/index.html diff --git a/kdbg/doc/de/localvars.html b/doc/de/localvars.html similarity index 100% rename from kdbg/doc/de/localvars.html rename to doc/de/localvars.html diff --git a/kdbg/doc/de/memory.html b/doc/de/memory.html similarity index 100% rename from kdbg/doc/de/memory.html rename to doc/de/memory.html diff --git a/kdbg/doc/de/pgmoutput.html b/doc/de/pgmoutput.html similarity index 100% rename from kdbg/doc/de/pgmoutput.html rename to doc/de/pgmoutput.html diff --git a/kdbg/doc/de/pgmsettings.html b/doc/de/pgmsettings.html similarity index 100% rename from kdbg/doc/de/pgmsettings.html rename to doc/de/pgmsettings.html diff --git a/kdbg/doc/de/registers.html b/doc/de/registers.html similarity index 100% rename from kdbg/doc/de/registers.html rename to doc/de/registers.html diff --git a/kdbg/doc/de/sourcecode.html b/doc/de/sourcecode.html similarity index 100% rename from kdbg/doc/de/sourcecode.html rename to doc/de/sourcecode.html diff --git a/kdbg/doc/de/stack.html b/doc/de/stack.html similarity index 100% rename from kdbg/doc/de/stack.html rename to doc/de/stack.html diff --git a/kdbg/doc/de/threads.html b/doc/de/threads.html similarity index 100% rename from kdbg/doc/de/threads.html rename to doc/de/threads.html diff --git a/kdbg/doc/de/tips.html b/doc/de/tips.html similarity index 100% rename from kdbg/doc/de/tips.html rename to doc/de/tips.html diff --git a/kdbg/doc/de/watches.html b/doc/de/watches.html similarity index 100% rename from kdbg/doc/de/watches.html rename to doc/de/watches.html diff --git a/kdbg/doc/en/argspwdenv.html b/doc/en/argspwdenv.html similarity index 100% rename from kdbg/doc/en/argspwdenv.html rename to doc/en/argspwdenv.html diff --git a/kdbg/doc/en/breakptlist.html b/doc/en/breakptlist.html similarity index 100% rename from kdbg/doc/en/breakptlist.html rename to doc/en/breakptlist.html diff --git a/kdbg/doc/en/globaloptions.html b/doc/en/globaloptions.html similarity index 100% rename from kdbg/doc/en/globaloptions.html rename to doc/en/globaloptions.html diff --git a/kdbg/doc/en/howdoi.html b/doc/en/howdoi.html similarity index 100% rename from kdbg/doc/en/howdoi.html rename to doc/en/howdoi.html diff --git a/kdbg/doc/en/index.html b/doc/en/index.html similarity index 100% rename from kdbg/doc/en/index.html rename to doc/en/index.html diff --git a/kdbg/doc/en/invocation.html b/doc/en/invocation.html similarity index 100% rename from kdbg/doc/en/invocation.html rename to doc/en/invocation.html diff --git a/kdbg/doc/en/localvars.html b/doc/en/localvars.html similarity index 100% rename from kdbg/doc/en/localvars.html rename to doc/en/localvars.html diff --git a/kdbg/doc/en/memory.html b/doc/en/memory.html similarity index 100% rename from kdbg/doc/en/memory.html rename to doc/en/memory.html diff --git a/kdbg/doc/en/pgmoutput.html b/doc/en/pgmoutput.html similarity index 100% rename from kdbg/doc/en/pgmoutput.html rename to doc/en/pgmoutput.html diff --git a/kdbg/doc/en/pgmsettings.html b/doc/en/pgmsettings.html similarity index 100% rename from kdbg/doc/en/pgmsettings.html rename to doc/en/pgmsettings.html diff --git a/kdbg/doc/en/registers.html b/doc/en/registers.html similarity index 100% rename from kdbg/doc/en/registers.html rename to doc/en/registers.html diff --git a/kdbg/doc/en/sourcecode.html b/doc/en/sourcecode.html similarity index 100% rename from kdbg/doc/en/sourcecode.html rename to doc/en/sourcecode.html diff --git a/kdbg/doc/en/stack.html b/doc/en/stack.html similarity index 100% rename from kdbg/doc/en/stack.html rename to doc/en/stack.html diff --git a/kdbg/doc/en/threads.html b/doc/en/threads.html similarity index 100% rename from kdbg/doc/en/threads.html rename to doc/en/threads.html diff --git a/kdbg/doc/en/tips.html b/doc/en/tips.html similarity index 100% rename from kdbg/doc/en/tips.html rename to doc/en/tips.html diff --git a/kdbg/doc/en/types.html b/doc/en/types.html similarity index 100% rename from kdbg/doc/en/types.html rename to doc/en/types.html diff --git a/kdbg/doc/en/watches.html b/doc/en/watches.html similarity index 100% rename from kdbg/doc/en/watches.html rename to doc/en/watches.html diff --git a/kdbg/doc/en/xslt.html b/doc/en/xslt.html similarity index 100% rename from kdbg/doc/en/xslt.html rename to doc/en/xslt.html diff --git a/kdbg/doc/man/kdbg.1 b/doc/man/kdbg.1 similarity index 100% rename from kdbg/doc/man/kdbg.1 rename to doc/man/kdbg.1 diff --git a/kdbg/doc/ru/argspwdenv.html b/doc/ru/argspwdenv.html similarity index 100% rename from kdbg/doc/ru/argspwdenv.html rename to doc/ru/argspwdenv.html diff --git a/kdbg/doc/ru/breakptlist.html b/doc/ru/breakptlist.html similarity index 100% rename from kdbg/doc/ru/breakptlist.html rename to doc/ru/breakptlist.html diff --git a/kdbg/doc/ru/globaloptions.html b/doc/ru/globaloptions.html similarity index 100% rename from kdbg/doc/ru/globaloptions.html rename to doc/ru/globaloptions.html diff --git a/kdbg/doc/ru/howdoi.html b/doc/ru/howdoi.html similarity index 100% rename from kdbg/doc/ru/howdoi.html rename to doc/ru/howdoi.html diff --git a/kdbg/doc/ru/index.html b/doc/ru/index.html similarity index 100% rename from kdbg/doc/ru/index.html rename to doc/ru/index.html diff --git a/kdbg/doc/ru/localvars.html b/doc/ru/localvars.html similarity index 100% rename from kdbg/doc/ru/localvars.html rename to doc/ru/localvars.html diff --git a/kdbg/doc/ru/memory.html b/doc/ru/memory.html similarity index 100% rename from kdbg/doc/ru/memory.html rename to doc/ru/memory.html diff --git a/kdbg/doc/ru/pgmoutput.html b/doc/ru/pgmoutput.html similarity index 100% rename from kdbg/doc/ru/pgmoutput.html rename to doc/ru/pgmoutput.html diff --git a/kdbg/doc/ru/pgmsettings.html b/doc/ru/pgmsettings.html similarity index 100% rename from kdbg/doc/ru/pgmsettings.html rename to doc/ru/pgmsettings.html diff --git a/kdbg/doc/ru/registers.html b/doc/ru/registers.html similarity index 100% rename from kdbg/doc/ru/registers.html rename to doc/ru/registers.html diff --git a/kdbg/doc/ru/sourcecode.html b/doc/ru/sourcecode.html similarity index 100% rename from kdbg/doc/ru/sourcecode.html rename to doc/ru/sourcecode.html diff --git a/kdbg/doc/ru/stack.html b/doc/ru/stack.html similarity index 100% rename from kdbg/doc/ru/stack.html rename to doc/ru/stack.html diff --git a/kdbg/doc/ru/threads.html b/doc/ru/threads.html similarity index 100% rename from kdbg/doc/ru/threads.html rename to doc/ru/threads.html diff --git a/kdbg/doc/ru/tips.html b/doc/ru/tips.html similarity index 100% rename from kdbg/doc/ru/tips.html rename to doc/ru/tips.html diff --git a/kdbg/doc/ru/types.html b/doc/ru/types.html similarity index 100% rename from kdbg/doc/ru/types.html rename to doc/ru/types.html diff --git a/kdbg/doc/ru/watches.html b/doc/ru/watches.html similarity index 100% rename from kdbg/doc/ru/watches.html rename to doc/ru/watches.html diff --git a/kdbg/CMakeLists.txt b/kdbg/CMakeLists.txt index 01aa14f..ed203f5 100644 --- a/kdbg/CMakeLists.txt +++ b/kdbg/CMakeLists.txt @@ -1,4 +1,3 @@ -tde_conditional_add_subdirectory( BUILD_DOC doc ) tde_conditional_add_subdirectory( BUILD_TESTPROGS testprogs ) add_subdirectory( typetables ) diff --git a/kdbg/doc/CMakeLists.txt b/kdbg/doc/CMakeLists.txt deleted file mode 100644 index fde3c3e..0000000 --- a/kdbg/doc/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_add_project_docs() diff --git a/kdbg/doc/de/CMakeLists.txt b/kdbg/doc/de/CMakeLists.txt deleted file mode 100644 index b77b646..0000000 --- a/kdbg/doc/de/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -file( GLOB _htmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html ) - -install( - FILES ${_htmls} - DESTINATION ${HTML_INSTALL_DIR}/de/${PROJECT_NAME} -) - - diff --git a/kdbg/doc/en/CMakeLists.txt b/kdbg/doc/en/CMakeLists.txt deleted file mode 100644 index 378feb9..0000000 --- a/kdbg/doc/en/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -file( GLOB _htmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html ) - -install( - FILES ${_htmls} - DESTINATION ${HTML_INSTALL_DIR}/en/${PROJECT_NAME} -) - - diff --git a/kdbg/doc/ru/CMakeLists.txt b/kdbg/doc/ru/CMakeLists.txt deleted file mode 100644 index e983b81..0000000 --- a/kdbg/doc/ru/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -file( GLOB _htmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html ) - -install( - FILES ${_htmls} - DESTINATION ${HTML_INSTALL_DIR}/ru/${PROJECT_NAME} -) - -