NEWS: Fix misindented bullet point
[libvirt.git] / CONTRIBUTING.rst
blobbda5cae6270f93ee1e98fd355d2f80f2e4317155
1 =======================
2 Contributing to libvirt
3 =======================
5 Full, up to date information on how to contribute to libvirt can be
6 found on the libvirt website:
8 https://libvirt.org/contribute.html
10 To build the same document locally, from the top level directory of
11 your git clone run:
15    $ meson build
16    $ ninja -C build
18 You'll find the freshly-built document in ``docs/contribute.html``.
20 If ``meson setup`` fails because of missing dependencies, you can set
21 up your system by calling
25    $ sudo dnf builddep libvirt
27 if you're on a RHEL-based distribution or
31    $ sudo apt-get build-dep libvirt
33 if you're on a Debian-based one.
35 Note that, for the RHEL-based case, if you're on a machine where you
36 haven't done any C development before, you will probably also need
37 to run
41    $ sudo dnf install gcc make ninja-build rpm-build
43 You might still be missing some dependencies if your distribution is
44 shipping an old libvirt version, but that will get you much closer to
45 where you need to be to build successfully from source.