From de128c948149dd6ae47896506c7659ad4c33a5cb Mon Sep 17 00:00:00 2001 From: Johann Klähn Date: Sat, 19 Jan 2013 23:27:08 +0100 Subject: do not auto-build documentation Use 'ninja doc' or 'make doc' instead. --- doc/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'doc/CMakeLists.txt') diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 6753b3a8..72a6da84 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,9 +1,6 @@ -# The following will be generated or updated… -# …for every build (target 'doc.auto'): +# The following will be generated or updated when the 'doc' target is built: # • user guide and man pages: if BUILD_DOCS is set # • HTML versions of the above: if BUILD_DOCS and BUILD_WEB_DOCS are set -# -# …only when the 'doc' target is built explicitly: # • Doxygen / reference documentation: if USE_DOXYGEN is set ######################################################################## @@ -88,8 +85,7 @@ endif(BUILD_WEB_DOCS) ######################################################################## -add_custom_target(doc.auto ALL DEPENDS ${ledger_doc_files}) -add_custom_target(doc DEPENDS doc.auto doc.doxygen) +add_custom_target(doc DEPENDS ${ledger_doc_files} doc.doxygen) ######################################################################## -- cgit v1.2.3