mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-06 16:20:32 +01:00
build/meson: fix gtkdoc dependencies
This commit fixes the build process for the documentation that was previously unable to build separately via meson due to a dependency issue. Previously, trying to build the API documentation via `ninja NetworkManager-doc` failed due to missing dependencies (for example, `nm-dbus-types.xml` was not built). I believe this happens due to some different handling of static paths vs. custom_target by meson in this case. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1801 Fixes:03637ad8b5('build: add initial support for meson build system') (cherry picked from commitffb34d2485)
This commit is contained in:
parent
052627dd7c
commit
58d3326344
2 changed files with 2 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ if enable_introspection
|
|||
output: output,
|
||||
command: xsltproc_options + [join_paths(meson.current_source_dir(), man[0] + '.xsl'), '@INPUT@'],
|
||||
)
|
||||
content_files += input.full_path()
|
||||
content_files += input
|
||||
|
||||
output = '@0@.@1@'.format(man[0], man[1])
|
||||
|
||||
|
|
|
|||
|
|
@ -128,5 +128,5 @@ foreach docbook: docbooks
|
|||
build_by_default: true,
|
||||
)
|
||||
|
||||
content_files += xml.full_path()
|
||||
content_files += xml
|
||||
endforeach
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue