diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-20 16:50:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-20 16:50:47 +0200 |
commit | d2ee5effeeb3d18672a68eb1046e9446e02b2b6e (patch) | |
tree | dfa8a8dc435c76487199e41ba21156f65b03675c /doc | |
parent | 683d9046a7a5fad7742a5c40d2c9d28e5613e879 (diff) | |
download | tdepacman-d2ee5effeeb3d18672a68eb1046e9446e02b2b6e.tar.gz tdepacman-d2ee5effeeb3d18672a68eb1046e9446e02b2b6e.zip |
Use common rules for build and install documentation and translations.
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 | 6 | ||||
-rw-r--r-- | doc/en/CMakeLists.txt | 8 | ||||
-rw-r--r-- | doc/man/CMakeLists.txt | 5 | ||||
-rw-r--r-- | doc/other/tdepacman-api/TDEpacman.html (renamed from doc/tdepacman-api/TDEpacman.html) | 0 | ||||
-rw-r--r-- | doc/other/tdepacman-api/all-globals.html (renamed from doc/tdepacman-api/all-globals.html) | 0 | ||||
-rw-r--r-- | doc/other/tdepacman-api/full-list-TDEpacman.html (renamed from doc/tdepacman-api/full-list-TDEpacman.html) | 0 | ||||
-rw-r--r-- | doc/other/tdepacman-api/header-list.html (renamed from doc/tdepacman-api/header-list.html) | 0 | ||||
-rw-r--r-- | doc/other/tdepacman-api/hier.html (renamed from doc/tdepacman-api/hier.html) | 0 | ||||
-rw-r--r-- | doc/other/tdepacman-api/index-long.html (renamed from doc/tdepacman-api/index-long.html) | 0 | ||||
-rw-r--r-- | doc/other/tdepacman-api/index.html (renamed from doc/tdepacman-api/index.html) | 0 | ||||
-rw-r--r-- | doc/other/tdepacman-api/tdepacman_h.html (renamed from doc/tdepacman-api/tdepacman_h.html) | 0 |
12 files changed, 0 insertions, 33 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 0e17c6c..0000000 --- a/doc/de/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html ) - -install( - FILES ${_files} tdepacman.gif - DESTINATION ${HTML_INSTALL_DIR}/de/${PROJECT_NAME} -) diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt deleted file mode 100644 index 94201a1..0000000 --- a/doc/en/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html ) - -install( - FILES ${_files} tdepacman.gif screenshot.png - DESTINATION ${HTML_INSTALL_DIR}/en/${PROJECT_NAME} -) - -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 -) diff --git a/doc/tdepacman-api/TDEpacman.html b/doc/other/tdepacman-api/TDEpacman.html index 9ab446d..9ab446d 100644 --- a/doc/tdepacman-api/TDEpacman.html +++ b/doc/other/tdepacman-api/TDEpacman.html diff --git a/doc/tdepacman-api/all-globals.html b/doc/other/tdepacman-api/all-globals.html index a65f90c..a65f90c 100644 --- a/doc/tdepacman-api/all-globals.html +++ b/doc/other/tdepacman-api/all-globals.html diff --git a/doc/tdepacman-api/full-list-TDEpacman.html b/doc/other/tdepacman-api/full-list-TDEpacman.html index 4aafbfb..4aafbfb 100644 --- a/doc/tdepacman-api/full-list-TDEpacman.html +++ b/doc/other/tdepacman-api/full-list-TDEpacman.html diff --git a/doc/tdepacman-api/header-list.html b/doc/other/tdepacman-api/header-list.html index 041d5cf..041d5cf 100644 --- a/doc/tdepacman-api/header-list.html +++ b/doc/other/tdepacman-api/header-list.html diff --git a/doc/tdepacman-api/hier.html b/doc/other/tdepacman-api/hier.html index 54561c5..54561c5 100644 --- a/doc/tdepacman-api/hier.html +++ b/doc/other/tdepacman-api/hier.html diff --git a/doc/tdepacman-api/index-long.html b/doc/other/tdepacman-api/index-long.html index 6b03674..6b03674 100644 --- a/doc/tdepacman-api/index-long.html +++ b/doc/other/tdepacman-api/index-long.html diff --git a/doc/tdepacman-api/index.html b/doc/other/tdepacman-api/index.html index f4e03d6..f4e03d6 100644 --- a/doc/tdepacman-api/index.html +++ b/doc/other/tdepacman-api/index.html diff --git a/doc/tdepacman-api/tdepacman_h.html b/doc/other/tdepacman-api/tdepacman_h.html index 5d4a263..5d4a263 100644 --- a/doc/tdepacman-api/tdepacman_h.html +++ b/doc/other/tdepacman-api/tdepacman_h.html |