From de1aaf76f379f6e42cdd47feef1554126c1d2e13 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Wed, 29 Jan 2020 01:10:31 +0100 Subject: Conversion to the cmake building system based on S.Amelian's work. The embedded sqlite3 has been upgraded to 3.4.2 . Added few man pages taken from the Debian packaging system. Rework of the README and INSTALL files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy Signed-off-by: Slávek Banko (cherry picked from commit 16ec57d25f13f92bd0d84317f1679fef3b98eeaa) --- po/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'po/CMakeLists.txt') diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 52b30c06..c7308e2e 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -9,9 +9,10 @@ # ################################################# -file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} amarok.po ) +file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_NAME}.po ) foreach( _po ${po_files} ) - get_filename_component( _lang ${_po} PATH ) + string( REPLACE "/" ";" _path "${_po}" ) + list( GET _path 0 _lang ) tde_create_translation( FILES ${_po} LANG ${_lang} ) endforeach( ) -- cgit v1.2.1