]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
README.md: recommend meson, mention autotools EOL
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 9 Sep 2024 14:10:38 +0000 (15:10 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 11 Sep 2024 19:57:08 +0000 (14:57 -0500)
The meson build has the default options already set, so I don't think we
need the verbosity of the configure example.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/122
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
README.md

index 9a5e010cb94ddec4474f6c332c4e3b8228e1a2b0..02208bfe4093299a7c65ba1f1948b6d0f894336e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -47,7 +47,14 @@ Optional dependencies:
 - ZSTD library
 - OPENSSL library (signature handling in modinfo)
 
-Typical configuration:
+Typical configuration and installation
+
+    meson setup builddir/
+    meson compile -C builddir/
+    sudo meson install -C builddir/
+
+Alternatively you can try autotools build.
+NOTE: The autotools build is slated for removal with kmod v35
 
     ./configure CFLAGS="-g -O2" --prefix=/usr \
                 --sysconfdir=/etc --libdir=/usr/lib
@@ -61,8 +68,9 @@ To compile and install run:
 Hacking
 =======
 
-Run 'autogen.sh' script before configure. If you want to accept the recommended
-flags, you just need to run `autogen.sh c`.
+When working on kmod, use the included `build-dev.ini` file, as:
+
+    meson setup --native-file build-dev.ini builddir/
 
 Make sure to read the CODING-STYLE file and the other READMEs: libkmod/README
 and testsuite/README.