Skip to content

Commit

Permalink
Clarify behavior of DESTDIR in the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Jan 4, 2022
1 parent b47b25a commit 1b19cf4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PACKAGING.md
Expand Up @@ -13,12 +13,13 @@
```

* `make install` respects `DESTDIR`, but `prefix` must be configured
with `WASMER_INSTALL_PREFIX`, e.g.:
with `WASMER_INSTALL_PREFIX`. Note that `DESTDIR` must include
`WASMER_INSTALL_PREFIX`, e.g.:

```sh
export WASMER_INSTALL_PREFIX=/usr
make
DESTDIR=.../usr make install
DESTDIR=/tmp/staging/usr make install
```

* In case you must build/install directly with `cargo`, make sure to
Expand Down

0 comments on commit 1b19cf4

Please sign in to comment.