aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2025-12-28 11:32:43 +0200
committerPekka Paalanen <pq@iki.fi>2025-12-29 16:27:14 +0200
commit7736d8793bb190ce92d33584d54a6ab60f653871 (patch)
treec42b064154f425d542504da05217d579ea4130fc
parentdoc/xsl: include static inline functions (diff)
downloadwayland-7736d8793bb190ce92d33584d54a6ab60f653871.tar
wayland-7736d8793bb190ce92d33584d54a6ab60f653871.tar.gz
wayland-7736d8793bb190ce92d33584d54a6ab60f653871.tar.bz2
wayland-7736d8793bb190ce92d33584d54a6ab60f653871.tar.lz
wayland-7736d8793bb190ce92d33584d54a6ab60f653871.tar.xz
wayland-7736d8793bb190ce92d33584d54a6ab60f653871.tar.zst
wayland-7736d8793bb190ce92d33584d54a6ab60f653871.zip
build/doc: explain two XML conversions
Now that I figured out what these do, I might as well add comments about it for others. The target names are changed to be more descriptive of what the target does. Signed-off-by: Pekka Paalanen <pq@iki.fi>
-rw-r--r--doc/publican/meson.build12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/publican/meson.build b/doc/publican/meson.build
index 6493280..9704f29 100644
--- a/doc/publican/meson.build
+++ b/doc/publican/meson.build
@@ -39,29 +39,33 @@ publican_inputs += custom_target(
output: 'ProtocolInterfaces.xml'
)
+# Doxygen generates a myriad of files, and offers an XSLT
+# to combine them all into one. This does the combining.
+# The result is still Doxygen XML.
ClientAPI_combined = custom_target(
- 'ClientAPI-combined',
+ 'ClientAPI-combine-doxygen-files',
command: [ xsltproc, '-o', '@OUTPUT@', '@INPUT@' ],
input: [ doxygen_Client_combine_xslt, doxygen_Client_index_xml ],
output: 'ClientAPI-combined.xml'
)
+# This converts Doxygen XML to DocBook XML.
publican_inputs += custom_target(
- 'ClientAPI.xml',
+ 'ClientAPI-doxygen-to-docbook',
command: [ xsltproc, '-o', '@OUTPUT@', '--stringparam', 'which', 'Client', to_publican_xsl, '@INPUT@' ],
input: ClientAPI_combined,
output: 'ClientAPI.xml'
)
ServerAPI_combined = custom_target(
- 'ServerAPI-combined',
+ 'ServerAPI-combine-doxygen-files',
command: [ xsltproc, '-o', '@OUTPUT@', '@INPUT@' ],
input: [ doxygen_Server_combine_xslt, doxygen_Server_index_xml ],
output: 'ServerAPI-combined.xml'
)
publican_inputs += custom_target(
- 'ServerAPI.xml',
+ 'ServerAPI-doxygen-to-docbook',
command: [ xsltproc, '-o', '@OUTPUT@', '--stringparam', 'which', 'Server', to_publican_xsl, '@INPUT@' ],
input: ServerAPI_combined,
output: 'ServerAPI.xml'