From 9a52c0ae344474957f8df3569ec1ff7c29a76b18 Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Mon, 3 Apr 2023 11:54:18 -0400 Subject: [PATCH] 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. --- docs/developers/developers-setup.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/docs/developers/developers-setup.md b/docs/developers/developers-setup.md index b8e320f..16b52cc 100644 --- a/docs/developers/developers-setup.md +++ b/docs/developers/developers-setup.md @@ -80,7 +80,7 @@ flatpak-builder --user --install build-flatpak io.github.mightycreak.Diffuse.yml To run Diffuse through Flatpak: ```sh -flatpak run io.github.mightycreak.Diffuse +flatpak run --user io.github.mightycreak.Diffuse ``` #### Uninstall @@ -88,7 +88,7 @@ flatpak run io.github.mightycreak.Diffuse To uninstall Diffuse: ```sh -flatpak remove io.github.mightycreak.Diffuse +flatpak remove --user io.github.mightycreak.Diffuse ``` ### Setup on Linux using Meson @@ -101,9 +101,8 @@ To build and test Diffuse: ```sh meson setup build -cd build -meson compile -meson test +meson compile -C build +meson test -C build ``` #### Install on system and run @@ -111,7 +110,7 @@ meson test To install Diffuse on your system (e.g. `/usr/local/`): ```sh -meson install # requires admin privileges +meson install -C build # requires admin privileges ``` 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`): ```sh -meson install --destdir ~/bin/diffuse +meson install -C build --destdir ~/bin/diffuse ``` To run Diffuse: @@ -159,9 +158,8 @@ To build and test Diffuse: ```sh meson setup build -cd build -meson compile -meson test +meson compile -C build +meson test -C build ``` #### Install on system and run @@ -170,7 +168,7 @@ To install Diffuse on your system (e.g. `/Applications/` and `/opt/homebrew/` or `/usr/local/`): ```sh -meson install # requires admin privileges +meson install -C build # requires admin privileges ``` To run Diffuse: