]> git.lyx.org Git - features.git/commitdiff
Install desktop file in cmake-build too
authorKornel Benko <kornel@lyx.org>
Tue, 6 Dec 2011 11:48:33 +0000 (11:48 +0000)
committerKornel Benko <kornel@lyx.org>
Tue, 6 Dec 2011 11:48:33 +0000 (11:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40394 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/Install.cmake

index ac39d8bd63bf41c22f3b8889a03117e1ed588a92..8f095ffdef1560de65b0aa80dab637f26c31ced3 100755 (executable)
@@ -40,6 +40,7 @@ macro(lyx_install _parent_src_dir _gl_dir _file_type)
           list(REMOVE_ITEM files_list "${_current_dir}/Makefile.in")
           list(REMOVE_ITEM files_list "${_current_dir}/Makefile.am")
           list(REMOVE_ITEM files_list "${_current_dir}/layouttranslations")
+          list(REMOVE_ITEM files_list "${_current_dir}/lyx.desktop")
           GET_FILENAME_COMPONENT(_base_dir ${_current_dir} NAME)
           if(_glob_dir STREQUAL ".")
             set(_base_dir .)
@@ -79,3 +80,7 @@ lyx_install(${TOP_SRC_DIR}/lib templates    *      . attic springer thesis)
 lyx_install(${TOP_SRC_DIR}/lib tex          *      .)
 lyx_install(${TOP_SRC_DIR}/lib ui           *      .)
 lyx_install(${TOP_SRC_DIR}/lib .            *      .)
+
+if(UNIX)
+  install(FILES ${TOP_SRC_DIR}/lib/lyx.desktop DESTINATION applications)
+endif()