]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/Install.cmake
listerrors.lyx : Update a link.
[lyx.git] / development / cmake / Install.cmake
index 02645af2f424c539e04aba57d201bf27bbb8d343..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 .)
@@ -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()