Skip to content

Commit

Permalink
build: make docs by default when configured
Browse files Browse the repository at this point in the history
Problem: In the old build system, docs were built by default with
`make`, but that is no longer the case with the CMake based build.

Add the ALL keyword to the docs target so docs are built by default
when configured.

Fixes #1091
  • Loading branch information
grondo committed Oct 2, 2023
1 parent 54ba3ac commit 79ec8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ if(SPHINX AND ENABLE_DOCS)
${Python_EXECUTABLE} -m sphinx -b html ${CMAKE_CURRENT_SOURCE_DIR} ./html
)
add_custom_target(html DEPENDS ${man5_html_outputs})
add_custom_target(docs
add_custom_target(docs ALL
DEPENDS html manpages)
endif()

0 comments on commit 79ec8fc

Please sign in to comment.