From 9bd8f6a00cd3ab07e61e63db99e3b0c04380811b Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Wed, 28 Nov 2018 00:10:04 +0700 Subject: [PATCH] Rename and update build instruction in README file to README.md --- contrib/meson/README | 12 ------------ contrib/meson/README.md | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 12 deletions(-) delete mode 100644 contrib/meson/README create mode 100644 contrib/meson/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). -- 2.47.2