Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Co-authored-by: Jeremy Linton <jeremy.linton@arm.com>
DEPENDS dev-reference-doxygen
COMMENT "Building HTML dev reference with Sphinx")
-add_custom_target(dev-reference-man
+add_custom_target(dev-reference-man ALL
${SPHINX_BUILD}
-b man
-c "${CMAKE_CURRENT_BINARY_DIR}"
"${SPHINX_MAN_DIR}"
DEPENDS dev-reference-doxygen
COMMENT "Building man page reference with Sphinx")
+
+install(FILES ${CMAKE_BINARY_DIR}/doc/dev-reference/man/vectorscan.7
+ DESTINATION "${CMAKE_INSTALL_MANDIR}/man7/")
endif()
# -- Add some customisation -----------------------------------------------
def setup(app):
- app.add_stylesheet("hyperscan.css") # Custom stylesheet for e.g. :regex:
+ app.add_css_file("hyperscan.css") # Custom stylesheet for e.g. :regex: