From 90bc8dd3ede69bc29d1aa9be476117a1933042f1 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 30 Jan 2015 08:49:48 -0800 Subject: [PATCH] Don't track the dependencies of the doc target as Sphinx does it itself --- doc/CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 56825a23..7b531f65 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,7 +1,4 @@ -add_custom_command(OUTPUT html/index.html +add_custom_target(doc COMMAND doxygen COMMAND rm -rf html - COMMAND sphinx-build -b html . html - DEPENDS ../CMakeLists.txt ../format.h Doxyfile - conf.py index.rst _templates/layout.html) -add_custom_target(doc DEPENDS html/index.html) + COMMAND sphinx-build -b html . html)