From a9f4c0ff4376267d90d6e8f9a0b6c012ec0588a4 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 28 Mar 2018 11:56:16 +0200 Subject: Build documentation by default Unless gtk-doc isn't there --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7339fa86..6b8b9e5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,7 +103,7 @@ if (GTKDOC_FOUND) docs/xml/gtkdocentities.ent) configure_file(doc/reference/libcrystfel/CrystFEL-docs.sgml docs/CrystFEL-docs.sgml COPYONLY) - add_custom_target(documentation VERBATIM COMMAND + add_custom_target(documentation ALL VERBATIM COMMAND ${CMAKE_SOURCE_DIR}/doc/reference/libcrystfel/build-docs) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs/html DESTINATION ${CMAKE_INSTALL_DOCDIR}) -- cgit v1.2.3