summaryrefslogtreecommitdiffstats
path: root/doc/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-20 16:50:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-20 16:52:12 +0200
commit2fd02fe8bb815590dfd78710125f16b60d4d5946 (patch)
tree49b2ddaeb298ae9f0882f57adae5af8d5b1c38d5 /doc/CMakeLists.txt
parent9709c554f32893aa129ce0751fec1f49a9bcdb6f (diff)
downloadtdepacman-2fd02fe8.tar.gz
tdepacman-2fd02fe8.zip
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit d2ee5effeeb3d18672a68eb1046e9446e02b2b6e)
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r--doc/CMakeLists.txt14
1 files changed, 0 insertions, 14 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()