diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-22 11:21:34 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-22 11:21:34 +0200 |
commit | 3b4b5a1fad7ffa13a3c41162eadb51b01915014d (patch) | |
tree | 118e47ce9453baebd57c841722b883183a9f3dcb /doc | |
parent | 259fd92de7328e381b675c17ae807e5199080663 (diff) | |
download | kbiff-3b4b5a1fad7ffa13a3c41162eadb51b01915014d.tar.gz kbiff-3b4b5a1fad7ffa13a3c41162eadb51b01915014d.zip |
Use common rules for build and install documentation and translations.
Simplify the structure of the documentation directories.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/CMakeLists.txt | 14 | ||||
-rw-r--r-- | doc/de/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/de/index.docbook (renamed from doc/de/kbiff/index.docbook) | 0 | ||||
-rw-r--r-- | doc/de/kbiff/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/en/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/en/index.docbook (renamed from doc/en/kbiff/index.docbook) | 0 | ||||
-rw-r--r-- | doc/en/kbiff.png (renamed from doc/en/kbiff/kbiff.png) | bin | 319 -> 319 bytes | |||
-rw-r--r-- | doc/en/kbiff/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/es/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/es/index.docbook (renamed from doc/es/kbiff/index.docbook) | 0 | ||||
-rw-r--r-- | doc/es/kbiff/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/fr/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/fr/index.docbook (renamed from doc/fr/kbiff/index.docbook) | 0 | ||||
-rw-r--r-- | doc/fr/kbiff/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/man/CMakeLists.txt | 5 |
15 files changed, 0 insertions, 27 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt deleted file mode 100644 index 70d6348..0000000 --- a/doc/CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * ) -string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" ) - -foreach( _dir ${_dirs} ) - if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} AND - EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/CMakeLists.txt ) - if( "${_dir}" STREQUAL "en" OR - "${_dir}" STREQUAL "man" OR - "${_linguas}" MATCHES "^;*$" OR - ";${_linguas};" MATCHES ";${_dir};" ) - add_subdirectory( ${_dir} ) - endif( ) - endif() -endforeach() diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt deleted file mode 100644 index 51feb67..0000000 --- a/doc/de/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_subdirectory( ${PROJECT_NAME} ) diff --git a/doc/de/kbiff/index.docbook b/doc/de/index.docbook index 881f88e..881f88e 100644 --- a/doc/de/kbiff/index.docbook +++ b/doc/de/index.docbook diff --git a/doc/de/kbiff/CMakeLists.txt b/doc/de/kbiff/CMakeLists.txt deleted file mode 100644 index eca4bd4..0000000 --- a/doc/de/kbiff/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG de ) diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt deleted file mode 100644 index 51feb67..0000000 --- a/doc/en/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_subdirectory( ${PROJECT_NAME} ) diff --git a/doc/en/kbiff/index.docbook b/doc/en/index.docbook index c6ac889..c6ac889 100644 --- a/doc/en/kbiff/index.docbook +++ b/doc/en/index.docbook diff --git a/doc/en/kbiff/kbiff.png b/doc/en/kbiff.png Binary files differindex d4cbe40..d4cbe40 100644 --- a/doc/en/kbiff/kbiff.png +++ b/doc/en/kbiff.png diff --git a/doc/en/kbiff/CMakeLists.txt b/doc/en/kbiff/CMakeLists.txt deleted file mode 100644 index ba3ef3e..0000000 --- a/doc/en/kbiff/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_create_handbook( DESTINATION ${PROJECT_NAME} ) diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt deleted file mode 100644 index 51feb67..0000000 --- a/doc/es/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_subdirectory( ${PROJECT_NAME} ) diff --git a/doc/es/kbiff/index.docbook b/doc/es/index.docbook index b6fca38..b6fca38 100644 --- a/doc/es/kbiff/index.docbook +++ b/doc/es/index.docbook diff --git a/doc/es/kbiff/CMakeLists.txt b/doc/es/kbiff/CMakeLists.txt deleted file mode 100644 index 7995d65..0000000 --- a/doc/es/kbiff/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG es ) diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt deleted file mode 100644 index 51feb67..0000000 --- a/doc/fr/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_subdirectory( ${PROJECT_NAME} ) diff --git a/doc/fr/kbiff/index.docbook b/doc/fr/index.docbook index f00c3e2..f00c3e2 100644 --- a/doc/fr/kbiff/index.docbook +++ b/doc/fr/index.docbook diff --git a/doc/fr/kbiff/CMakeLists.txt b/doc/fr/kbiff/CMakeLists.txt deleted file mode 100644 index 495f168..0000000 --- a/doc/fr/kbiff/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG fr ) 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 -) |