From 694094779055ed59b44435b35b57e40dc4afbc5e Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Thu, 14 Apr 2011 09:01:27 +0000 Subject: [PATCH] Remove layouttranslations from automatic build. To create it, one has to go into the po-build-directory and call 'make layouttranslations1' git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38372 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/po/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/development/cmake/po/CMakeLists.txt b/development/cmake/po/CMakeLists.txt index fae6044e42..6dc7897f56 100755 --- a/development/cmake/po/CMakeLists.txt +++ b/development/cmake/po/CMakeLists.txt @@ -46,11 +46,12 @@ macro(add_gettext_python _par _dir) COMMAND ${CMAKE_COMMAND} -E copy_if_different "${TOP_SRC_DIR}/lib/layouttranslations" "${_dst}" COMMAND ${LYX_PYTHON_EXECUTABLE} ARGS "${TOP_SRC_DIR}/po/lyx_pot.py" -b "${TOP_SRC_DIR}" -o "${_dst}" -t ${_par1} "--src_file=${_src_files}" + COMMAND ${CMAKE_COMMAND} -E copy_if_different "${_dst}" "${TOP_SRC_DIR}/lib/layouttranslations" DEPENDS ${_sources} ${_src_files} "${TOP_SRC_DIR}/lib/layouttranslations" COMMENT "${LYX_PYTHON_EXECUTABLE} ${TOP_SRC_DIR}/po/lyx_pot.py -b ${TOP_SRC_DIR} -o ${_dst} -t ${_par1} --src_file=${_src_files}" ) - ADD_CUSTOM_TARGET(layouttranslations1 ALL DEPENDS "${_dst}") - install(FILES "${_dst}" DESTINATION .) + ADD_CUSTOM_TARGET(layouttranslations1 DEPENDS "${_dst}") + install(FILES "${TOP_SRC_DIR}/lib/layouttranslations" DESTINATION .) else() ADD_CUSTOM_COMMAND( OUTPUT "${_dst}"