docs: improve dev setup command lines

use `meson ... -C build` as it seems more common than getting into the
build dir before running the `meson` command-lines.
This commit is contained in:
Romain Failliot 2023-04-03 11:54:18 -04:00
parent 74089bf055
commit 9a52c0ae34
1 changed files with 9 additions and 11 deletions

View File

@ -80,7 +80,7 @@ flatpak-builder --user --install build-flatpak io.github.mightycreak.Diffuse.yml
To run Diffuse through Flatpak: To run Diffuse through Flatpak:
```sh ```sh
flatpak run io.github.mightycreak.Diffuse flatpak run --user io.github.mightycreak.Diffuse
``` ```
#### Uninstall #### Uninstall
@ -88,7 +88,7 @@ flatpak run io.github.mightycreak.Diffuse
To uninstall Diffuse: To uninstall Diffuse:
```sh ```sh
flatpak remove io.github.mightycreak.Diffuse flatpak remove --user io.github.mightycreak.Diffuse
``` ```
### Setup on Linux using Meson ### Setup on Linux using Meson
@ -101,9 +101,8 @@ To build and test Diffuse:
```sh ```sh
meson setup build meson setup build
cd build meson compile -C build
meson compile meson test -C build
meson test
``` ```
#### Install on system and run #### Install on system and run
@ -111,7 +110,7 @@ meson test
To install Diffuse on your system (e.g. `/usr/local/`): To install Diffuse on your system (e.g. `/usr/local/`):
```sh ```sh
meson install # requires admin privileges meson install -C build # requires admin privileges
``` ```
To run Diffuse: To run Diffuse:
@ -128,7 +127,7 @@ Meson allows to change the default installation directories, see
To install Diffuse in a custom directory (e.g. `~/bin/diffuse`): To install Diffuse in a custom directory (e.g. `~/bin/diffuse`):
```sh ```sh
meson install --destdir ~/bin/diffuse meson install -C build --destdir ~/bin/diffuse
``` ```
To run Diffuse: To run Diffuse:
@ -159,9 +158,8 @@ To build and test Diffuse:
```sh ```sh
meson setup build meson setup build
cd build meson compile -C build
meson compile meson test -C build
meson test
``` ```
#### Install on system and run #### Install on system and run
@ -170,7 +168,7 @@ To install Diffuse on your system (e.g. `/Applications/` and `/opt/homebrew/`
or `/usr/local/`): or `/usr/local/`):
```sh ```sh
meson install # requires admin privileges meson install -C build # requires admin privileges
``` ```
To run Diffuse: To run Diffuse: