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-06 18:24:07 +0100 |
commit | cb952883c9662328e7b1ac026589a116e687aa69 (patch) | |
tree | d13faf956810798f31b4d2a849749e1549e960e5 | |
parent | b23da3e4306a3b92b39be1bf53abf48e4bd9323e (diff) | |
download | kxmleditor-cb952883c9662328e7b1ac026589a116e687aa69.tar.gz kxmleditor-cb952883c9662328e7b1ac026589a116e687aa69.zip |
Use common rules for build and install documentation.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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 53cc073..7236c3d 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 -) |