From 40b132f385d8b3913eb3cf5ec04147655df79081 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 Jul 2022 23:57:28 -0400 Subject: Simplify installation instructions --- INSTALL.md | 23 ++--------------------- README.md | 4 ---- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index d4e0090..7109c35 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -62,28 +62,9 @@ A compiled project can be installed with the `install` command: meson install You may need to acquire root permissions to install to a system-wide prefix. -The `DESTDIR` environment can be set during this command to add a path to the -installation prefix (which is useful for packaging): +For packaging, the installation may be staged to a directory using the +`DESTDIR` environment variable or the `--destdir` option: DESTDIR=/tmp/mypackage/ meson install -The `--destdir` option can be used for the same purpose: - meson install --destdir=/tmp/mypackage/ - -Compiler Configuration ----------------------- - -Several standard environment variables can be used to control how compilers are -invoked: - - * `CC`: Path to C compiler - * `CFLAGS`: C compiler options - * `LDFLAGS`: Linker options - -The value of these environment variables is recorded during `meson setup`, -they have no effect at any other stage. - -Note that there are also meson options that do the same thing as most of these -environment variables, they are supported for convenience and compatibility -with the conventions of other build systems. diff --git a/README.md b/README.md index d5d729e..1baef6f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,3 @@ no external documentation at this time. * [Installation Instructions](INSTALL.md) -- David Robillard - -[Meson]: https://mesonbuild.com/ - -[Meson documentation]: https://mesonbuild.com/Quick-guide.html -- cgit v1.2.1