]> git.lyx.org Git - features.git/commitdiff
Omiting dependecy recursion for po/layouttranslations in cmake build
authorKornel Benko <kornel@lyx.org>
Tue, 5 Apr 2011 07:07:20 +0000 (07:07 +0000)
committerKornel Benko <kornel@lyx.org>
Tue, 5 Apr 2011 07:07:20 +0000 (07:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38252 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/po/CMakeLists.txt

index 0bab46777988768b3bc1a3a26872a67d17d9d2de..fae6044e427b69e15cd2180a85df93d8607e367b 100755 (executable)
@@ -46,10 +46,10 @@ 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}"
-      DEPENDS ${_sources} ${_src_files}
+      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(layouttranslations ALL DEPENDS "${_dst}")
+    ADD_CUSTOM_TARGET(layouttranslations1 ALL DEPENDS "${_dst}")
     install(FILES "${_dst}" DESTINATION .)
   else()
     ADD_CUSTOM_COMMAND(