Skip to content

Commit 9a52c0a

Browse files
committed
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.
1 parent 74089bf commit 9a52c0a

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

docs/developers/developers-setup.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ flatpak-builder --user --install build-flatpak io.github.mightycreak.Diffuse.yml
8080
To run Diffuse through Flatpak:
8181

8282
```sh
83-
flatpak run io.github.mightycreak.Diffuse
83+
flatpak run --user io.github.mightycreak.Diffuse
8484
```
8585

8686
#### Uninstall
8787

8888
To uninstall Diffuse:
8989

9090
```sh
91-
flatpak remove io.github.mightycreak.Diffuse
91+
flatpak remove --user io.github.mightycreak.Diffuse
9292
```
9393

9494
### Setup on Linux using Meson
@@ -101,17 +101,16 @@ To build and test Diffuse:
101101

102102
```sh
103103
meson setup build
104-
cd build
105-
meson compile
106-
meson test
104+
meson compile -C build
105+
meson test -C build
107106
```
108107

109108
#### Install on system and run
110109

111110
To install Diffuse on your system (e.g. `/usr/local/`):
112111

113112
```sh
114-
meson install # requires admin privileges
113+
meson install -C build # requires admin privileges
115114
```
116115

117116
To run Diffuse:
@@ -128,7 +127,7 @@ Meson allows to change the default installation directories, see
128127
To install Diffuse in a custom directory (e.g. `~/bin/diffuse`):
129128

130129
```sh
131-
meson install --destdir ~/bin/diffuse
130+
meson install -C build --destdir ~/bin/diffuse
132131
```
133132

134133
To run Diffuse:
@@ -159,9 +158,8 @@ To build and test Diffuse:
159158

160159
```sh
161160
meson setup build
162-
cd build
163-
meson compile
164-
meson test
161+
meson compile -C build
162+
meson test -C build
165163
```
166164

167165
#### Install on system and run
@@ -170,7 +168,7 @@ To install Diffuse on your system (e.g. `/Applications/` and `/opt/homebrew/`
170168
or `/usr/local/`):
171169

172170
```sh
173-
meson install # requires admin privileges
171+
meson install -C build # requires admin privileges
174172
```
175173

176174
To run Diffuse:

0 commit comments

Comments
 (0)