Remove doc from the default target

The doc target requires strict parallel execution. Make it
a separate target unless we figure out how to do this with cmake.
This commit is contained in:
Daniel Molkentin 2012-11-25 01:00:21 +01:00
parent 78c7dc95a0
commit 0da93f3eb5

View file

@ -11,7 +11,7 @@ if(SPHINX_FOUND)
set(MSHTML_COMPILER wine 'C:\\Program Files\\HTML Help Workshop\\hhc.exe') set(MSHTML_COMPILER wine 'C:\\Program Files\\HTML Help Workshop\\hhc.exe')
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/conf.py.in" conf.py @ONLY) configure_file("${CMAKE_CURRENT_SOURCE_DIR}/conf.py.in" conf.py @ONLY)
add_custom_target(doc ALL DEPENDS doc-html doc-man COMMENT "Building documentation...") add_custom_target(doc DEPENDS doc-html doc-man COMMENT "Building documentation...")
if(PDFLATEX_FOUND) if(PDFLATEX_FOUND)
# if this still fails on Debian/Ubuntu, run # if this still fails on Debian/Ubuntu, run
# apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended # apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended