if(NOT _dirs)
set(_dirs .)
endif()
- # Select installation dir
+ # Select installation dir(s)
+ # Mark, that _dest_subdir may be a list
if ("${_what}" STREQUAL "data")
get_data_destination(_dest_subdir)
elseif ("${_what}" STREQUAL "font")
set(_base_dir .)
endif()
- install(FILES ${files_list} DESTINATION "${_dest_subdir}${_dir}/${_base_dir}")
- #message(STATUS "Installing ${files_list} to ${_dest_subdir}${_dir}/${_base_dir}")
+ foreach(_dst ${_dest_subdir})
+ install(FILES ${files_list} DESTINATION "${_dst}${_dir}/${_base_dir}")
+ #message(STATUS "Installing ${files_list} to ${_dest_subdir}${_dir}/${_base_dir}")
+ endforeach()
endif()
if(program_list)
if(_glob_dir STREQUAL ".")
foreach(_sd "lyx2lyx" "scripts" ".")
lyx_install("data" ${TOP_SRC_DIR}/lib ${_sd} *.py . )
endforeach()
+foreach(_script listerrors)
+ lyx_install("data" ${TOP_SRC_DIR}/lib scripts ${_script} . )
+endforeach()
+
foreach(_imgext "png" "svgz" "gif" "xpm")
lyx_install("data" ${TOP_SRC_DIR}/lib images "*.${_imgext}" . ipa classic oxygen)
install(FILES "${TOP_SRC_DIR}/development/MacOSX/PkgInfo" DESTINATION "${MACOSX_BUNDLE_STARTUP_COMMAND}/Contents")
endif()
- foreach(_i lyxeditor maxima inkscape)
+ foreach(_i lyxeditor maxima inkscape lilypond lilypond-book)
install(PROGRAMS "${TOP_SRC_DIR}/development/MacOSX/${_i}" DESTINATION "${LYX_UTILITIES_INSTALL_PATH}")
endforeach()
install(FILES "${TOP_SRC_DIR}/development/MacOSX/LyX.icns" DESTINATION "${LYX_DATA_SUBDIR}")