on xenial help sign in
Do not build docs every time.
commit29ad6450b4ec8b3a2a678143e7a1f34d8f433064 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 31 Jan 2014, 10:27 (13 years ago) parentf1e13fe
2 files changed+5−2
debian/rules+4 doc/CMakeLists.txt+1−2
debian/rules+4
@@ -21,6 +21,10 @@ override_dh_auto_configure:
2121 # So until Debian bug 719148 is fixed, do it ourselves.
2222 dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var"
2323
24+override_dh_auto_build:
25+ # doc is not a default target
26+ dh_auto_build -- all doc
27+
2428override_dh_install:
2529 # install autopilot tests
2630 cd tests/autopilot; \
doc/CMakeLists.txt+1−2
@@ -31,8 +31,7 @@ else()
3131 add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}/index.html
3232 COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_BINARY_DIR}/doc/Doxyfile
3333 DEPENDS ${PROJECT_BINARY_DIR}/doc/Doxyfile ${DOC_FILES})
34− add_custom_target(doc ALL
35− DEPENDS ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}/index.html)
34+ add_custom_target(doc DEPENDS ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}/index.html)
3635 install(DIRECTORY ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}
3736 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc)
3837endif()