From bde506df1c3974ae605c82ac715962027bd41179 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Wed, 3 Apr 2024 15:00:01 -0400 Subject: [PATCH] xo-unit: build: + custom 'docs' target, same as 'sphinx' --- docs/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index bc00ca12..8c7b9b92 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -94,4 +94,9 @@ else() DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/${PROJECT_NAME} COMPONENT Documentation OPTIONAL) + + # make docs --> generate sphinx documentation + add_custom_target( + docs + DEPENDS sphinx) endif()