mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-31 10:58:25 +00:00
Restore -W option to sphinx-build, lost in cmake version
This commit is contained in:
parent
0bd908b550
commit
7d9b2d9f6c
@ -63,15 +63,15 @@ set(DOC_SINGLEHTML_OUTPUT singlehtml/index.html)
|
||||
set(DOC_PDF_OUTPUT latex/qpdf.pdf)
|
||||
if(BUILD_DOC)
|
||||
add_custom_command(OUTPUT ${DOC_HTML_OUTPUT}
|
||||
COMMAND ${SPHINX} -M html ${MANUAL_SRC} ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMAND ${SPHINX} -M html ${MANUAL_SRC} ${CMAKE_CURRENT_BINARY_DIR} -W
|
||||
COMMAND touch ${DOC_HTML_OUTPUT}
|
||||
DEPENDS ${MANUAL_DEPS})
|
||||
add_custom_command(OUTPUT ${DOC_SINGLEHTML_OUTPUT}
|
||||
COMMAND ${SPHINX} -M singlehtml ${MANUAL_SRC} ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMAND ${SPHINX} -M singlehtml ${MANUAL_SRC} ${CMAKE_CURRENT_BINARY_DIR} -W
|
||||
COMMAND touch ${DOC_SINGLEHTML_OUTPUT}
|
||||
DEPENDS ${MANUAL_DEPS})
|
||||
add_custom_command(OUTPUT ${DOC_PDF_OUTPUT}
|
||||
COMMAND ${SPHINX} -M latexpdf ${MANUAL_SRC} ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMAND ${SPHINX} -M latexpdf ${MANUAL_SRC} ${CMAKE_CURRENT_BINARY_DIR} -W
|
||||
COMMAND touch ${DOC_PDF_OUTPUT}
|
||||
DEPENDS ${MANUAL_DEPS})
|
||||
add_custom_target(doc_html DEPENDS ${DOC_HTML_OUTPUT})
|
||||
|
Loading…
x
Reference in New Issue
Block a user