summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cowgill <jcowgill@debian.org>2018-10-17 09:31:40 +0100
committerJames Cowgill <jcowgill@debian.org>2018-10-17 09:31:40 +0100
commit3809be7de116324a7b14d4bf775ea2a13c16faa1 (patch)
treea5735d9caf60007cb61dbfdbc46d80c3c5fe3521
parent1ee593af904cb2fa36380d8b9c784bb7c865a328 (diff)
Adjust build script to build documentation only once
This patch removes the ALL option from the documentation build command so that it must be run manually with "make doc". This prevents the documentation being built twice (normal build + install phase). It also allows the documentation building to happen after the code building, which makes the logs much more readable in parallel builds. Forwarded: no Gbp-Pq: Name 02_build-doc-once.patch
-rw-r--r--doc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 123b44c..e52f115 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -45,7 +45,7 @@ configure_file(${DOXYGEN_INPUT_DIR}/doc/header.html.in ${DOXYGEN_OUTPUT_DIR}/hea
configure_file(${DOXYGEN_INPUT_DIR}/doc/doxygen.css ${DOXYGEN_OUTPUT_DIR}/html/doxygen.css COPYONLY)
# target setup
-add_custom_target(doc ALL
+add_custom_target(doc
COMMAND ${CMAKE_COMMAND} -E echo_append "Building API Documentation..."
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_CONFIGURED_INPUT}
COMMAND ${CMAKE_COMMAND} -E echo "Done."