diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-26 10:36:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-26 10:36:51 +0200 |
commit | f67febb9bb6eb2ff9eb5e5774f0fe84ccf85b018 (patch) | |
tree | a32ede2c3fa8ec40c230f89eae2c09bee599b458 /doc/CMakeLists.txt | |
parent | 701a618d1a64bfaaa134e86ae6114b444dae8df1 (diff) | |
download | kiosktool-f67febb9.tar.gz kiosktool-f67febb9.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 6829385342ddce5d89bb36c33f3210c01fbc43f4)
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() |