X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fcmake%2FInstall.cmake;h=8f095ffdef1560de65b0aa80dab637f26c31ced3;hb=55a3dd7b346d29a52ba305a4558e9e380ef50f47;hp=02645af2f424c539e04aba57d201bf27bbb8d343;hpb=4744d2e1231f75c8efcf0d9d2eba75433fce9386;p=lyx.git diff --git a/development/cmake/Install.cmake b/development/cmake/Install.cmake index 02645af2f4..8f095ffdef 100755 --- a/development/cmake/Install.cmake +++ b/development/cmake/Install.cmake @@ -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 .) @@ -75,9 +76,11 @@ lyx_install(${TOP_SRC_DIR}/lib layouts * .) lyx_install(${TOP_SRC_DIR}/lib lyx2lyx *.py .) lyx_install(${TOP_SRC_DIR}/lib scripts *.py .) lyx_install(${TOP_SRC_DIR}/lib scripts *.R .) -lyx_install(${TOP_SRC_DIR}/lib templates * .) +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 . * .) -lyx_install(${TOP_SRC_DIR}/lib templates/thesis * .) +if(UNIX) + install(FILES ${TOP_SRC_DIR}/lib/lyx.desktop DESTINATION applications) +endif()