[Webkit-unassigned] [Bug 198521] [GTK] Documentation is built even when setting says it is off
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 4 05:22:03 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=198521
Michael Catanzaro <mcatanzaro at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |mcatanzaro at igalia.com
Resolution|--- |WONTFIX
--- Comment #1 from Michael Catanzaro <mcatanzaro at igalia.com> ---
That's the test target for ENABLE_DEVELOPER_MODE which checks that the docs can be built but skips HTML output generation. If you don't want it to use gtkdoc at all, then you should not use developer mode.
ADD_GTKDOC_GENERATOR("docs-build.stamp" "--gtk")
if (ENABLE_GTKDOC)
add_custom_target(gtkdoc ALL DEPENDS "${CMAKE_BINARY_DIR}/docs-build.stamp")
elseif (NOT ENABLED_COMPILER_SANITIZERS AND NOT CMAKE_CROSSCOMPILING AND NOT APPLE)
add_custom_target(gtkdoc DEPENDS "${CMAKE_BINARY_DIR}/docs-build.stamp")
# Add a default build step which check that documentation does not have any warnings
# or errors. This is useful to prevent breaking documentation inadvertently during
# the course of development.
if (DEVELOPER_MODE)
ADD_GTKDOC_GENERATOR("docs-build-no-html.stamp" "--gtk;--skip-html")
add_custom_target(gtkdoc-no-html ALL DEPENDS "${CMAKE_BINARY_DIR}/docs-build-no-html.stamp")
endif ()
endif ()
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190604/1c8c56c8/attachment.html>
More information about the webkit-unassigned
mailing list