[LyX/2.3.x] Cmake build: Add some missing language-specific files for installation
Kornel Benko
kornel at lyx.org
Wed Jun 3 19:00:05 UTC 2020
commit 1c2ce5e9033cf86c5b9c5850d1649d2592b792e7
Author: Kornel Benko <kornel at lyx.org>
Date: Wed Jun 3 21:21:04 2020 +0200
Cmake build: Add some missing language-specific files for installation
(Language files of the form pt_PT, or zh_CN were not handled)
---
development/cmake/Install.cmake | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/development/cmake/Install.cmake b/development/cmake/Install.cmake
index d0a2eb4..cbad766 100755
--- a/development/cmake/Install.cmake
+++ b/development/cmake/Install.cmake
@@ -91,6 +91,7 @@ endmacro(lyx_install)
# language-specific-directories (like ca, de, es ...) are now globbed as "[a-z][a-z]"
set(_all_languages "[a-z][a-z]")
+set(_all_combined_langs "[a-z][a-z]_[A-Z][A-Z]")
lyx_install("data" ${TOP_SRC_DIR}/lib bind *.bind . ${_all_languages})
lyx_install("data" ${TOP_SRC_DIR}/lib commands *.def .)
@@ -102,7 +103,7 @@ lyx_install("data" ${TOP_SRC_DIR}/lib doc * biblio clipart)
lyx_install("data" ${TOP_SRC_DIR}/lib doc/${_all_languages} * clipart)
-lyx_install("data" ${TOP_SRC_DIR}/lib examples * . ${_all_languages} springer thesis)
+lyx_install("data" ${TOP_SRC_DIR}/lib examples * . ${_all_languages} ${_all_combined_langs} springer thesis)
lyx_install("font" ${TOP_SRC_DIR}/lib/fonts . * .)
foreach(_imgext "png" "svgz" "gif" "xpm")
lyx_install("data" ${TOP_SRC_DIR}/lib images "*.${_imgext}" . ipa commands attic classic oxygen)
More information about the lyx-cvs
mailing list