summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-12 11:30:08 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-12 11:37:29 +0200
commit09652c06fc0033aca687c913901625bfa0759afd (patch)
tree1f939f6c71e8a96536d4f43e3ff3bec680c770b9 /doc
parent9bc2c65626badfee875de52791d91deb968cad03 (diff)
downloadtde-style-baghira-09652c06fc0033aca687c913901625bfa0759afd.tar.gz
tde-style-baghira-09652c06fc0033aca687c913901625bfa0759afd.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> (cherry picked from commit a5e262a67d56ccb85f8df78d3d1b1b27e889d790)
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt14
-rw-r--r--doc/man/CMakeLists.txt5
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
-)