]> git.lyx.org Git - lyx.git/commitdiff
Restore language handling
authorKornel Benko <kornel@lyx.org>
Mon, 9 Aug 2010 18:49:34 +0000 (18:49 +0000)
committerKornel Benko <kornel@lyx.org>
Mon, 9 Aug 2010 18:49:34 +0000 (18:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35107 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/po/CMakeLists.txt

index 6b0777ff4c8476c0f6a5ad8afa4e92a921edb840..f0fff57f149b1b5a51ed5fc0c35370be56fdbdfd 100755 (executable)
@@ -9,7 +9,7 @@ project(po)
 
 include_directories(${TOP_SRC_DIR}/po)
 
-SET(_lyxname ${LYX_PROJECT})
+SET(_lyxname ${PACKAGE})
 SET(_py_sources)
 macro(add_gettext_python  _par _dir)
   set(_sources)
@@ -124,7 +124,7 @@ foreach(_pofile ${LYX_BASE_PO_FILES})
   list(APPEND LYX_UPDATED_PO_FILES ${CMAKE_CURRENT_BINARY_DIR}/${_pofile}.copied)
 endforeach(_pofile)
 
-if(LYX_CPACK)
+if(LYX_CPACK OR LYX_INSTALL)
   set(_addALLOption ALL)
 endif()
 GETTEXT_CREATE_TRANSLATIONS(${CMAKE_CURRENT_BINARY_DIR}/${_lyxname}.pot ${_addALLOption} ${LYX_PO_FILES})