You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#################################################
|
|
|
|
#
|
|
|
|
# (C) 2014 Slávek Banko
|
|
|
|
# slavek (DOT) banko (AT) axis.cz
|
|
|
|
#
|
|
|
|
# Improvements and feedback are welcome
|
|
|
|
#
|
|
|
|
# This file is released under GPL >= 2
|
|
|
|
#
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_target( man ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/man3 )
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/man3
|
|
|
|
COMMAND doxygen ${CMAKE_BINARY_DIR}/doc/libr.cfg
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
COMMENT "Generate manpages"
|
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man3
|
|
|
|
DESTINATION ${MAN_INSTALL_DIR}
|
|
|
|
PATTERN "_*" EXCLUDE
|
|
|
|
)
|