mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-04 18:50:33 +01:00
meson: Install Doxygen docs as api/html/*.html
This ensures that the Doxygen-built documentation has the same layout
in the installed files that it does in the build tree and on the
website. If we don't keep the same layout, then there is no value for
the `DBUS_APIDOC_LINK` in index.html that would be correct for both
the build tree and the installed tree. The build tree effectively has
a html subdirectory hard-coded, because that's how Doxygen lays out
its outputs.
This commit is the Meson equivalent of
commit 522633b4 "cmake: install api docs in html subdir" in the CMake
build system (dbus!473, dbus#519).
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
88239d7603
commit
f546ddd937
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ if __name__ == "__main__":
|
|||
qch = Path(arg_qch)
|
||||
qchdir = Path(arg_qchdir)
|
||||
destdir = Path(env_destdir)
|
||||
apidir = Path(destdir /docdir / 'api')
|
||||
apidir = Path(destdir / docdir / 'api/html')
|
||||
shutil.rmtree(apidir, ignore_errors=True)
|
||||
shutil.copytree(builddir / 'api/html', apidir)
|
||||
if qch.is_file():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue