diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-02-06 18:24:07 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-02-07 13:46:38 +0100 |
commit | 03ab3107e80a736bcb0cbfac2c5ce37de983352c (patch) | |
tree | 5a8b33ce2c846880ff66d3ebcbec0e4efc80acd0 | |
parent | d781e995e520cda507e75d6be288df85201f63ed (diff) | |
download | kxmleditor-03ab3107e80a736bcb0cbfac2c5ce37de983352c.tar.gz kxmleditor-03ab3107e80a736bcb0cbfac2c5ce37de983352c.zip |
Use common rules for build and install documentation.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit cb952883c9662328e7b1ac026589a116e687aa69)
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | doc/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/en/CMakeLists.txt | 2 | ||||
-rw-r--r-- | doc/man/CMakeLists.txt | 5 |
4 files changed, 1 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a312588..5531ee8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( part ) add_subdirectory( ${PROJECT_NAME} ) -tde_conditional_add_subdirectory( BUILD_DOC doc ) +tde_conditional_add_project_docs( BUILD_DOC ) tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt deleted file mode 100644 index 6d0aa9f..0000000 --- a/doc/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_auto_add_subdirectories( ) diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt deleted file mode 100644 index c96df24..0000000 --- a/doc/en/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -tde_create_handbook( DESTINATION ${PROJECT_NAME} ) - diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt deleted file mode 100644 index 8512250..0000000 --- a/doc/man/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -INSTALL( - FILES ${PROJECT_NAME}.1 - DESTINATION ${MAN_INSTALL_DIR}/man1 - COMPONENT doc -) |