diff options
| author | Michael Biebl <biebl@debian.org> | 2024-05-05 00:07:30 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-05-05 00:07:30 +0200 |
| commit | 34bb501be08aa2b313d88e67d6e0a7e0a3f9cfa6 (patch) | |
| tree | 4e6220877828be4c6f261de09ec0cb2d80e32389 /CONTRIBUTING.md | |
| parent | bba2e4b4de668db525cbfdfc35292e5a0b51671a (diff) | |
New upstream version 1.47.90 upstream/1.47.90
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c9da4fd7..e1851f2f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -197,17 +197,11 @@ you can look at [this](contrib/fedora/REQUIRED_PACKAGES) script and [here](contrib/debian/REQUIRED_PACKAGES) is a script for Debian/Ubuntu. -Both meson and autotools are supported. You may choose whatever you prefer. -For autotools the common steps are +meson is the recommended way for building NetworkManager. You can configure +the build environment using the `meson setup` command: ``` -./autogen.sh $CONFIGURE_OPTIONS -make -j 8 -# optional: sudo make install -``` -and for meson it's -``` -meson build $CONFIGURE_OPTIONS +meson setup build/ $CONFIGURE_OPTIONS ninja -C build # optional: sudo meson install -C build ``` @@ -216,6 +210,13 @@ Beware to set the correct `$CONFIGURE_OPTIONS`. In particular, you may not want the default installation prefix and not overwrite files in `/usr`. +To specify options when setting up the meson environment, the `-D` argument +is used, like: `meson setup build -Ddocs=true`. + +To get a list of all possible configuration options, you can use `meson configure`. + +For additional usage, refer to the meson manual. + ### Fedora For Fedora/RHEL/CentOS, you can build an RPM from upstream sources with |