diff options
author | Roger Leigh <rleigh@codelibre.net> | 2022-06-24 22:03:07 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2022-07-22 16:04:59 +0100 |
commit | ac11ee0eec577dbf43d26139d135299bdf888f69 (patch) | |
tree | 1706bcac2eeb83c5299e36789b03e39c82c52a52 /doc/CMakeLists.txt | |
parent | 35abe378532ac78a5ddc8859be4640597d8a0a3b (diff) | |
download | libtiff-git-ac11ee0eec577dbf43d26139d135299bdf888f69.tar.gz |
libtiff: Add strict sphinx error checking option
* Correct a large number of warnings
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r-- | doc/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 6cc3d2e4..aad73c5a 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -54,6 +54,7 @@ if (BUILD_SPHINX AND SPHINX_BUILD) -D "release=${LIBTIFF_VERSION_FULL}" -D "version=${tiff_VERSION_MAJOR}.${tiff_VERSION_MINOR}" -d "${sphinx_builddir}/cache" + ${SPHINX_STRICT_OPTIONS} -b man "${sphinx_srcdir}" "${sphinx_builddir}/man" WORKING_DIRECTORY "${sphinx_srcdir}" @@ -84,6 +85,7 @@ if (BUILD_SPHINX AND SPHINX_BUILD) -D "release=${tiff_VERSION}" -D "version=${tiff_VERSION_MAJOR}.${tiff_VERSION_MINOR}" -d "${sphinx_builddir}/cache" + ${SPHINX_STRICT_OPTIONS} -b html "${sphinx_srcdir}" "${sphinx_builddir}/html" WORKING_DIRECTORY "${sphinx_srcdir}" |