]> git.lyx.org Git - features.git/commitdiff
Sort entries in created POTFILES.in
authorKornel Benko <kornel@lyx.org>
Thu, 8 Jul 2010 11:23:30 +0000 (11:23 +0000)
committerKornel Benko <kornel@lyx.org>
Thu, 8 Jul 2010 11:23:30 +0000 (11:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34814 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/po/CMakeLists.txt

index 2ee6fb1bccaedb1ce1f3da2ea1d50ea037357416..10858ddf39e101ea2408179065d99194a6adf989 100755 (executable)
@@ -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")