mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-10 13:29:48 -05:00
doc: Refactor the build system for complete build dir docs
By structuring things differently, it becomes possible to have a complete build of the docs in the build dir, without having to install anything. Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
This commit is contained in:
parent
59c79dee21
commit
0fd33fe1fa
38 changed files with 138 additions and 164 deletions
|
|
@ -1,16 +1,5 @@
|
|||
# Here be dragons
|
||||
|
||||
dot_gv = {
|
||||
'wayland-architecture': files('dot/wayland-architecture.gv'),
|
||||
'x-architecture': files('dot/x-architecture.gv'),
|
||||
}
|
||||
|
||||
# This is a workaround for Meson's custom_target() directive, which
|
||||
# currently does not support outputs pointing to a sub-directory
|
||||
# XXX: try turning these into maps, so they can be indexed with picture name
|
||||
dot_png = []
|
||||
dot_map = []
|
||||
|
||||
doxygen_conf = configuration_data()
|
||||
doxygen_conf.set('VERSION', meson.project_version())
|
||||
doxygen_conf.set('top_builddir', meson.project_build_root())
|
||||
|
|
@ -91,7 +80,6 @@ foreach f_name, sections: formats
|
|||
],
|
||||
input: s_files,
|
||||
output: '@0@.stamp'.format(t_name),
|
||||
depends: [dot_png, dot_map],
|
||||
build_by_default: true,
|
||||
)
|
||||
endforeach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue