diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-12 11:30:08 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-12 11:36:24 +0200 |
commit | a5e262a67d56ccb85f8df78d3d1b1b27e889d790 (patch) | |
tree | c19ac3b951f67cb2fb051943204c39e8d40b9195 /doc | |
parent | 121339c53bda69fd0551540699d28fb5a9df8790 (diff) | |
download | tde-style-baghira-a5e262a67d56ccb85f8df78d3d1b1b27e889d790.tar.gz tde-style-baghira-a5e262a67d56ccb85f8df78d3d1b1b27e889d790.zip |
Use common rules for build and install documentation and translations.
Remove old twin_baghira_config template.
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/man/CMakeLists.txt | 5 |
2 files changed, 0 insertions, 19 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/man/CMakeLists.txt b/doc/man/CMakeLists.txt deleted file mode 100644 index 50bbc0e..0000000 --- a/doc/man/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -INSTALL( - FILES bab.1 - DESTINATION ${MAN_INSTALL_DIR}/man1 - COMPONENT doc -) |