&& python3.5 get-pip.py --user
&& rm get-pip.py
&& pip3.5 install --user meson ninja;
- mkdir contrib/meson/build;
+ mkdir build/meson/build;
pushd "$_";
meson --buildtype=debug -Dbuild_contrib=true -Dbuild_tests=true ..
&& ninja
-This Meson project is provided with no guarantee and maintained
+contrib/meson - Meson build system for zstandard
+================================================
+
+Meson is a build system designed to optimize programmer productivity.
+It aims to do this by providing simple, out-of-the-box support for
+modern software development tools and practices, such as unit tests,
+coverage reports, Valgrind, CCache and the like.
+
+This Meson build system is provided with no guarantee and maintained
by Dima Krasner <dima@dimakrasner.com>.
It outputs one `libzstd`, either shared or static, depending on
`default_library` option.
-How to build
-============
+## How to build
-`cd` to this meson directory (`zstd/contrib/meson`) and type:
+`cd` to this meson directory (`build/meson`)
```sh
-meson --buildtype=release --strip --prefix=/usr builddir
+meson --buildtype=release -D with-contrib=true -D with-tests=true -D with-contrib=true builddir
cd builddir
ninja # to build
ninja install # to install
DESTDIR=./staging ninja install
```
-To configure the build, use:
+To configure build options, use:
```sh
meson configure