build: include documentation in meson dist
Summary
The tarball generated by meson dist
does not contain the autogenerated documentation due to the way meson works (packaging the latest revision control commit).
Purpose
This merge request introduces a dist script which builds & copies the generated documentation into the distribution tarball whenever it's generated via meson dist
.
Checklist
Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:
-
the subject for all commits is concise and explicative -
the message for all commits explains the reason for the change -
the source is properly formatted -
any relevant documentation is up to date -
you have added unit tests if applicable