From 3cddd05fbb3ce50303670e6d666f738ec8beac02 Mon Sep 17 00:00:00 2001 From: Nathan Osman Date: Mon, 23 Mar 2015 19:47:37 -0700 Subject: [PATCH] Ensured that documentation is always built and installed to the correct location. --- doc/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 29f2676..28605ee 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,2 +1,9 @@ configure_file(Doxyfile.in "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile") -add_custom_target(doc doxygen "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile") + +add_custom_target(doc ALL + doxygen "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" +) + +install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html" + DESTINATION share/doc/qhttpengine +)