mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #13410 - jdm:doc_fix, r=Ms2ger
Fix doc build by resurrecting generation of supported DOM APIs.h This should fix #12964. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13410) <!-- Reviewable:end -->
This commit is contained in:
commit
4ceea0426c
2 changed files with 21 additions and 3 deletions
|
@ -72,6 +72,22 @@ add_custom_command(
|
|||
VERBATIM
|
||||
)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT apis.html
|
||||
COMMAND python -B ${bindings_src}/pythonpath.py -I ${bindings_src}/parser -I ${bindings_src}/ply
|
||||
${bindings_src}/GlobalGen.py
|
||||
--cachedir=_cache
|
||||
--filelist=webidls.list
|
||||
--only-html
|
||||
${bindings_src}/Bindings.conf
|
||||
.
|
||||
${PROJECT_SOURCE_DIR}
|
||||
DEPENDS _cache ${globalgen_deps} ${webidls}
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
add_custom_target(supported-apis DEPENDS apis.html)
|
||||
|
||||
# We need an intermediate custom target for this, due to this misfeature:
|
||||
# > If any dependency is an OUTPUT of another custom command in the same
|
||||
# > directory CMake automatically brings the other custom command into the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue