README: Fix for meson instructions
The old autotools instructions were left behind and needed to be updated
to document how to build with meson.
Change-Id: Ic0039e36709f89bb74fb0594203257ad97ddbafe
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/README.md b/README.md
index 3bbb9e8..d863e4b 100644
--- a/README.md
+++ b/README.md
@@ -5,25 +5,19 @@
## Dependencies
-The sdeventplus library requires libsystemd for sd-event.
-
-Test cases require google{test,mock}, valgrind, and lcov.
+The sdeventplus library requires a libsystemd development package on the
+system for sd-event.
## Building
For a standard release build, you want something like:
```
-./bootstrap.sh
-./configure --disable-tests
-make
-make install
+meson setup -Dexamples=false -Dtests=disabled builddir
+ninja -C builddir
+ninja -C builddir install
```
For a test / debug build, a typical configuration is
```
-./bootstrap.sh
-./configure --enable-tests --enable-coverage --enable-valgrind
-make
-make check
-make check-valgrind
-make check-code-coverage
+meson setup -Dtests=enabled builddir
+meson test -C builddir
```