From d044e3e38663b16778695bb85732798770a361fa Mon Sep 17 00:00:00 2001 From: Maxim Solovyov Date: Wed, 28 Jun 2023 21:21:45 +0300 Subject: [PATCH] readme: simplify build instructions don't initialize submodules (we don't have any) and specify the source directory explicitly (assume that the current directory is the source one) --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5b358bbe..f1f66b09 100644 --- a/README.md +++ b/README.md @@ -63,8 +63,7 @@ To build the documents, you need `asciidoc` ### To build ```bash -$ git submodule update --init --recursive -$ meson setup --buildtype=release . build +$ meson setup --buildtype=release build $ ninja -C build ``` @@ -75,12 +74,12 @@ If you have libraries and/or headers installed at non-default location (e.g. und You can do that by setting the `CPPFLAGS` and `LDFLAGS` environment variables when running `meson`. Like this: ```bash -$ LDFLAGS="-L/path/to/libraries" CPPFLAGS="-I/path/to/headers" meson setup --buildtype=release . build +$ LDFLAGS="-L/path/to/libraries" CPPFLAGS="-I/path/to/headers" meson setup --buildtype=release build ``` As an example, on FreeBSD, you might have to run meson with: ```bash -$ LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" meson setup --buildtype=release . build +$ LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" meson setup --buildtype=release build $ ninja -C build ```