From: Lzu Tao Date: Tue, 27 Nov 2018 17:10:04 +0000 (+0700) Subject: Rename and update build instruction in README file to README.md X-Git-Tag: v1.3.8~43^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bd8f6a00cd3ab07e61e63db99e3b0c04380811b;p=thirdparty%2Fzstd.git Rename and update build instruction in README file to README.md --- diff --git a/contrib/meson/README b/contrib/meson/README deleted file mode 100644 index 6641f64c9..000000000 --- a/contrib/meson/README +++ /dev/null @@ -1,12 +0,0 @@ -This Meson project is provided with no guarantee and maintained by Dima Krasner . - -It outputs one libzstd, either shared or static, depending on default_library. - -How to build -============ - -`cd` to this meson directory (`zstd/contrib/meson`) and type: - - $ meson --buildtype=release --strip --prefix=/usr builddir - $ ninja # to build - $ ninja install # to install diff --git a/contrib/meson/README.md b/contrib/meson/README.md new file mode 100644 index 000000000..a2730faaa --- /dev/null +++ b/contrib/meson/README.md @@ -0,0 +1,31 @@ +This Meson project is provided with no guarantee and maintained +by Dima Krasner . + +It outputs one `libzstd`, either shared or static, depending on +`default_library` option. + +How to build +============ + +`cd` to this meson directory (`zstd/contrib/meson`) and type: + +```sh +meson --buildtype=release --strip --prefix=/usr builddir +cd builddir +ninja # to build +ninja install # to install +``` + +You might want to install it in staging directory: + +```sh +DESTDIR=./staging ninja install +``` + +To configure the build, use: + +```sh +meson configure +``` + +See [man meson(1)](https://manpages.debian.org/testing/meson/meson.1.en.html).