Added support for manpage construction for OpenBSD
This commit is contained in:
parent
e61620bd8e
commit
18b335e2f2
@ -376,7 +376,8 @@ endif(APPLE)
|
|||||||
|
|
||||||
# OpenBSD
|
# OpenBSD
|
||||||
if(OPENBSD)
|
if(OPENBSD)
|
||||||
set(WITH_ALSA "OFF")
|
set(WITH_MANPAGES "ON")
|
||||||
|
set(WITH_ALSA "OFF")
|
||||||
set(WITH_PULSE "ON")
|
set(WITH_PULSE "ON")
|
||||||
set(WITH_WAYLAND "OFF")
|
set(WITH_WAYLAND "OFF")
|
||||||
endif()
|
endif()
|
||||||
|
@ -108,7 +108,11 @@ if(WITH_MANPAGES)
|
|||||||
add_custom_target(xfreerdp.manpage ALL
|
add_custom_target(xfreerdp.manpage ALL
|
||||||
DEPENDS xfreerdp.1)
|
DEPENDS xfreerdp.1)
|
||||||
|
|
||||||
|
if(OPENBSD)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp.1 DESTINATION man/man1)
|
||||||
|
else()
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp.1 DESTINATION share/man/man1)
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp.1 DESTINATION share/man/man1)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
message(WARNING "WITH_MANPAGES was set, but xsltproc was not found. man-pages will not be installed")
|
message(WARNING "WITH_MANPAGES was set, but xsltproc was not found. man-pages will not be installed")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user