Rename and update build instruction in README file to README.md

This commit is contained in:
Lzu Tao 2018-11-28 00:10:04 +07:00
parent 2abd5139a5
commit 9bd8f6a00c
2 changed files with 31 additions and 12 deletions

View File

@ -1,12 +0,0 @@
This Meson project 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.
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

31
contrib/meson/README.md Normal file
View File

@ -0,0 +1,31 @@
This Meson project 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
============
`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).