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:
parent
74089bf055
commit
9a52c0ae34
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue