diff options
author | David Robillard <d@drobilla.net> | 2022-07-13 23:57:28 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-13 23:57:28 -0400 |
commit | 40b132f385d8b3913eb3cf5ec04147655df79081 (patch) | |
tree | 3a79932fab5b43ab3c6a0e6c0f581a8da72b2e06 /INSTALL.md | |
parent | 124961e5a58afc00848ecadfc054b45e04ad970a (diff) | |
download | zix-40b132f385d8b3913eb3cf5ec04147655df79081.tar.gz zix-40b132f385d8b3913eb3cf5ec04147655df79081.tar.bz2 zix-40b132f385d8b3913eb3cf5ec04147655df79081.zip |
Simplify installation instructions
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 23 |
1 files changed, 2 insertions, 21 deletions
@@ -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. |