diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-30 22:10:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-30 22:11:23 +0200 |
commit | f7e03d039ad5686544819a0ba6e2b1299e9ed1a8 (patch) | |
tree | 59c01c82c889a985e36c9c8c85afc8ee85d6f2c9 /doc/CMakeLists.txt | |
parent | e9b7d86246d5255f7ded3b30151135ef3f7c3bd8 (diff) | |
download | filelight-f7e03d03.tar.gz filelight-f7e03d03.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 1bb21b5e8bc29b0bd03c6ceb087da3b1d134b05a)
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r-- | doc/CMakeLists.txt | 14 |
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() |