mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +00:00
Cmake build: All directory variables should contain trailing '/'
This commit is contained in:
parent
66142c7d08
commit
af029d695f
4
3rdparty/dtl/CMakeLists.txt
vendored
4
3rdparty/dtl/CMakeLists.txt
vendored
@ -35,5 +35,5 @@ endforeach()
|
||||
# Install dtl tools in this directory to omit possible packaging conflicts
|
||||
# if installing multiple lyx versions, each with own dtl executables
|
||||
get_data_destination(dest_data)
|
||||
install(TARGETS ${targets} DESTINATION "${dest_data}/extratools")
|
||||
install(FILES ${_manuals} DESTINATION ${LYX_MAN_DIR}/man1)
|
||||
install(TARGETS ${targets} DESTINATION "${dest_data}extratools/")
|
||||
install(FILES ${_manuals} DESTINATION "${dest_data}extraman/man1/")
|
||||
|
@ -580,15 +580,16 @@ get_locale_destination(LYX_LOCALEDIR)
|
||||
set(LYX_ABS_INSTALLED_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/${LYX_LOCALEDIR}")
|
||||
set(LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}")
|
||||
|
||||
unset(LYX_MAN_DIR CACHE)
|
||||
if(LYX_BUNDLE AND APPLE)
|
||||
set(LYX_MAN_DIR "${LYX_DATA_SUBDIR}" CACHE STRING "Install location for man pages.")
|
||||
else()
|
||||
if(WIN32)
|
||||
set(LYX_MAN_DIR "${CMAKE_BINARY_DIR}/usr/local/man" CACHE STRING "Install location for man pages.")
|
||||
set(LYX_MAN_DIR "${CMAKE_BINARY_DIR}/usr/local/man/" CACHE STRING "Install location for man pages.")
|
||||
elseif(UNIX)
|
||||
set(LYX_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE STRING "Install location for man pages.")
|
||||
set(LYX_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man/" CACHE STRING "Install location for man pages.")
|
||||
else()
|
||||
set(LYX_MAN_DIR "${CMAKE_INSTALL_PREFIX}/man" CACHE STRING "Install location for man pages.")
|
||||
set(LYX_MAN_DIR "${CMAKE_INSTALL_PREFIX}/man/" CACHE STRING "Install location for man pages.")
|
||||
endif()
|
||||
endif()
|
||||
mark_as_advanced(LYX_MAN_DIR)
|
||||
|
@ -28,7 +28,7 @@ endforeach(_mn)
|
||||
ADD_CUSTOM_TARGET(man ALL DEPENDS ${_manuals})
|
||||
set_target_properties(man PROPERTIES FOLDER "doc")
|
||||
|
||||
install(FILES ${_manuals} DESTINATION ${LYX_MAN_DIR}/man1)
|
||||
install(FILES ${_manuals} DESTINATION "${LYX_MAN_DIR}man1")
|
||||
|
||||
# ADD_MANUALS("lyx")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user