mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cmake build: Move default for man-pages to /usr/local/man
and at the same time make it configurable. Until now it was hard wired to a subdirectory of installed lyx.
This commit is contained in:
parent
689390592c
commit
0a779e9543
@ -387,6 +387,9 @@ set(LYX_LOCALEDIR "locale")
|
||||
set(LYX_ABS_INSTALLED_LOCALEDIR "${LYX_ABS_INSTALLED_DATADIR}/${LYX_DATA_SUBDIR}${LYX_LOCALEDIR}")
|
||||
set(LYX_ABS_TOP_SRCDIR "${TOP_SRC_DIR}")
|
||||
|
||||
set(LYX_MAN_DIR "/usr/local/man" CACHE STRING
|
||||
"Install location for man pages.")
|
||||
mark_as_advanced(LYX_MAN_DIR)
|
||||
|
||||
if(LYX_INSTALL AND WIN32)
|
||||
message(STATUS "Configuring NSIS files")
|
||||
|
@ -27,7 +27,7 @@ endforeach(_mn)
|
||||
|
||||
ADD_CUSTOM_TARGET(man ALL DEPENDS ${_manuals})
|
||||
|
||||
install(FILES ${_manuals} DESTINATION ${LYX_DATA_SUBDIR}man/man1)
|
||||
install(FILES ${_manuals} DESTINATION ${LYX_MAN_DIR}/man1)
|
||||
|
||||
# ADD_MANUALS("lyx")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user