summaryrefslogtreecommitdiff
path: root/doc/CMakeLists.txt
diff options
context:
space:
mode:
authorJohann Klähn <kljohann@gmail.com>2013-01-19 23:27:08 +0100
committerJohann Klähn <kljohann@gmail.com>2013-01-19 23:27:08 +0100
commitde128c948149dd6ae47896506c7659ad4c33a5cb (patch)
tree8b8fe03e3f4a59b4cd28a132f8bd038a335a5e4c /doc/CMakeLists.txt
parent54c14f9770e86eca0312d3e5ec3bb201c484358f (diff)
downloadfork-ledger-de128c948149dd6ae47896506c7659ad4c33a5cb.tar.gz
fork-ledger-de128c948149dd6ae47896506c7659ad4c33a5cb.tar.bz2
fork-ledger-de128c948149dd6ae47896506c7659ad4c33a5cb.zip
do not auto-build documentation
Use 'ninja doc' or 'make doc' instead.
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r--doc/CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
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)
########################################################################