|
|
@ -9,18 +9,19 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#################################################
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man3)
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_target( man ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/man3 )
|
|
|
|
add_custom_target( man ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/man3 )
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/man3
|
|
|
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/man3
|
|
|
|
COMMAND doxygen ../doc/libr.cfg
|
|
|
|
COMMAND doxygen ../doc/libr.cfg
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
COMMENT "Generate manpages"
|
|
|
|
COMMENT "Generate manpages"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
install(
|
|
|
|
install(
|
|
|
|
DIRECTORY man3
|
|
|
|
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man3
|
|
|
|
DESTINATION ${MAN_INSTALL_DIR}
|
|
|
|
DESTINATION ${MAN_INSTALL_DIR}
|
|
|
|
PATTERN "_*" EXCLUDE
|
|
|
|
PATTERN "_*" EXCLUDE
|
|
|
|
)
|
|
|
|
)
|
|
|
|