generic: drop support for building and installing from subdirectory

after configuration is done installation of translations for one
language only can still be done via:
make -C <subdir> install

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-02 17:06:07 +03:00
parent 985032aa0b
commit fc44b7a2c6
71 changed files with 75 additions and 968 deletions

View file

@ -1,5 +1,7 @@
project (kde-l10n)
include(FeatureSummary)
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
@ -11,72 +13,74 @@ elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
kde4_optional_add_subdirectory( ar )
kde4_optional_add_subdirectory( ast )
kde4_optional_add_subdirectory( be )
kde4_optional_add_subdirectory( bg )
kde4_optional_add_subdirectory( bs )
kde4_optional_add_subdirectory( ca )
kde4_optional_add_subdirectory( ca@valencia )
kde4_optional_add_subdirectory( cs )
kde4_optional_add_subdirectory( da )
kde4_optional_add_subdirectory( de )
kde4_optional_add_subdirectory( el )
kde4_optional_add_subdirectory( en_AU )
kde4_optional_add_subdirectory( en_CA )
kde4_optional_add_subdirectory( en_GB )
kde4_optional_add_subdirectory( eo )
kde4_optional_add_subdirectory( es )
kde4_optional_add_subdirectory( et )
kde4_optional_add_subdirectory( eu )
kde4_optional_add_subdirectory( fa )
kde4_optional_add_subdirectory( fi )
kde4_optional_add_subdirectory( fr )
kde4_optional_add_subdirectory( ga )
kde4_optional_add_subdirectory( gl )
kde4_optional_add_subdirectory( he )
kde4_optional_add_subdirectory( hi )
kde4_optional_add_subdirectory( hr )
kde4_optional_add_subdirectory( hu )
kde4_optional_add_subdirectory( ia )
kde4_optional_add_subdirectory( id )
kde4_optional_add_subdirectory( is )
kde4_optional_add_subdirectory( it )
kde4_optional_add_subdirectory( ja )
kde4_optional_add_subdirectory( jv )
kde4_optional_add_subdirectory( kk )
kde4_optional_add_subdirectory( km )
kde4_optional_add_subdirectory( ko )
kde4_optional_add_subdirectory( lt )
kde4_optional_add_subdirectory( lv )
kde4_optional_add_subdirectory( mr )
kde4_optional_add_subdirectory( ms )
kde4_optional_add_subdirectory( nb )
kde4_optional_add_subdirectory( nds )
kde4_optional_add_subdirectory( nl )
kde4_optional_add_subdirectory( nn )
kde4_optional_add_subdirectory( oc )
kde4_optional_add_subdirectory( pa )
kde4_optional_add_subdirectory( pl )
kde4_optional_add_subdirectory( ps )
kde4_optional_add_subdirectory( pt )
kde4_optional_add_subdirectory( pt_BR )
kde4_optional_add_subdirectory( ro )
kde4_optional_add_subdirectory( ru )
kde4_optional_add_subdirectory( sk )
kde4_optional_add_subdirectory( sl )
kde4_optional_add_subdirectory( sq )
kde4_optional_add_subdirectory( sr )
kde4_optional_add_subdirectory( sr@ijekavian )
kde4_optional_add_subdirectory( sr@ijekavianlatin )
kde4_optional_add_subdirectory( sr@latin )
kde4_optional_add_subdirectory( sv )
kde4_optional_add_subdirectory( te )
kde4_optional_add_subdirectory( tg )
kde4_optional_add_subdirectory( tl )
kde4_optional_add_subdirectory( tr )
kde4_optional_add_subdirectory( ug )
kde4_optional_add_subdirectory( uk )
kde4_optional_add_subdirectory( wa )
kde4_optional_add_subdirectory( zh_CN )
kde4_optional_add_subdirectory( zh_TW )
add_subdirectory( ar )
add_subdirectory( ast )
add_subdirectory( be )
add_subdirectory( bg )
add_subdirectory( bs )
add_subdirectory( ca )
add_subdirectory( ca@valencia )
add_subdirectory( cs )
add_subdirectory( da )
add_subdirectory( de )
add_subdirectory( el )
add_subdirectory( en_AU )
add_subdirectory( en_CA )
add_subdirectory( en_GB )
add_subdirectory( eo )
add_subdirectory( es )
add_subdirectory( et )
add_subdirectory( eu )
add_subdirectory( fa )
add_subdirectory( fi )
add_subdirectory( fr )
add_subdirectory( ga )
add_subdirectory( gl )
add_subdirectory( he )
add_subdirectory( hi )
add_subdirectory( hr )
add_subdirectory( hu )
add_subdirectory( ia )
add_subdirectory( id )
add_subdirectory( is )
add_subdirectory( it )
add_subdirectory( ja )
add_subdirectory( jv )
add_subdirectory( kk )
add_subdirectory( km )
add_subdirectory( ko )
add_subdirectory( lt )
add_subdirectory( lv )
add_subdirectory( mr )
add_subdirectory( ms )
add_subdirectory( nb )
add_subdirectory( nds )
add_subdirectory( nl )
add_subdirectory( nn )
add_subdirectory( oc )
add_subdirectory( pa )
add_subdirectory( pl )
add_subdirectory( ps )
add_subdirectory( pt )
add_subdirectory( pt_BR )
add_subdirectory( ro )
add_subdirectory( ru )
add_subdirectory( sk )
add_subdirectory( sl )
add_subdirectory( sq )
add_subdirectory( sr )
add_subdirectory( sr@ijekavian )
add_subdirectory( sr@ijekavianlatin )
add_subdirectory( sr@latin )
add_subdirectory( sv )
add_subdirectory( te )
add_subdirectory( tg )
add_subdirectory( tl )
add_subdirectory( tr )
add_subdirectory( ug )
add_subdirectory( uk )
add_subdirectory( wa )
add_subdirectory( zh_CN )
add_subdirectory( zh_TW )
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)

View file

@ -1,18 +1,5 @@
project(kde-i18n-ar)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ar)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ast)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ast)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-be)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG be)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-bg)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG bg)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-bs)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG bs)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ca)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ca)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ca@valencia)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ca@valencia)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-cs)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG cs)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-da)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG da)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-de)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG de)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-el)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG el)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-en_AU)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG en_AU)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-en_CA)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG en_CA)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-en_GB)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG en_GB)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-eo)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG eo)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-es)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG es)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-et)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG et)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-eu)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG eu)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-fa)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG fa)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-fi)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG fi)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-fr)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG fr)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ga)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ga)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-gl)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG gl)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-he)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG he)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-hi)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG hi)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-hr)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG hr)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-hu)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG hu)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ia)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ia)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-id)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG id)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-is)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG is)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-it)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG it)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ja)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ja)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-jv)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG jv)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-kk)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG kk)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-km)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG km)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ko)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ko)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-lt)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG lt)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-lv)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG lv)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-mr)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG mr)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ms)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ms)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-nb)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG nb)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-nds)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG nds)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-nl)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG nl)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-nn)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG nn)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-oc)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG oc)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-pa)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG pa)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-pl)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG pl)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ps)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ps)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-pt)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG pt)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-pt_BR)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG pt_BR)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ro)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ro)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ru)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ru)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-sk)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG sk)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-sl)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG sl)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-sq)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG sq)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-sr)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG sr)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-sr_ijekavian)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG sr@ijekavian)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-sr_ijekavianlatin)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG sr@ijekavianlatin)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-sr_latin)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG sr@latin)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-sv)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG sv)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-te)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG te)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-tg)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG tg)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-tl)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG tl)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-tr)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG tr)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-ug)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG ug)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-uk)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG uk)
add_subdirectory( messages )

View file

@ -1,8 +1,8 @@
#!/bin/bash
sed 'kde4_optional_add_subdirectory' -i CMakeLists.txt
sed 'add_subdirectory' -i CMakeLists.txt
for i in *;do
if [ -d "$i" ];then
echo "kde4_optional_add_subdirectory( $i )" >> CMakeLists.txt
echo "add_subdirectory( $i )" >> CMakeLists.txt
fi
done

View file

@ -1,18 +1,5 @@
project(kde-i18n-wa)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG wa)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-zh_CN)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG zh_CN)
add_subdirectory( messages )

View file

@ -1,18 +1,5 @@
project(kde-i18n-zh_TW)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.22.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG zh_TW)
add_subdirectory( messages )