From: Kornel Benko Date: Thu, 8 Jul 2010 11:23:30 +0000 (+0000) Subject: Sort entries in created POTFILES.in X-Git-Tag: 2.0.0~3021 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e2f01217a83071a3ad32ed33e05d3a697e5cbf3d;p=lyx.git Sort entries in created POTFILES.in git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34814 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/cmake/po/CMakeLists.txt b/development/cmake/po/CMakeLists.txt index 2ee6fb1bcc..10858ddf39 100755 --- a/development/cmake/po/CMakeLists.txt +++ b/development/cmake/po/CMakeLists.txt @@ -86,6 +86,7 @@ SET(_potfiles_dep) file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/POTFILES.in "") foreach(_dir src/frontends/qt4 src/insets src/mathed src/support src/tex2lyx src) file(GLOB _tmp_potfiles RELATIVE ${TOP_SRC_DIR} ${TOP_SRC_DIR}/${_dir}/*.cpp) + list(SORT _tmp_potfiles) foreach(_f ${_tmp_potfiles}) LIST(APPEND _potfiles_dep "${TOP_SRC_DIR}/${_f}") file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/POTFILES.in "${_f}\n")