Don't track the dependencies of the doc target as Sphinx does it itself

This commit is contained in:
Victor Zverovich 2015-01-30 08:49:48 -08:00
parent 237eaa53e1
commit 90bc8dd3ed

View File

@ -1,7 +1,4 @@
add_custom_command(OUTPUT html/index.html add_custom_target(doc
COMMAND doxygen COMMAND doxygen
COMMAND rm -rf html COMMAND rm -rf html
COMMAND sphinx-build -b html . 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)