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 +)