Updated Development Setup (markdown)

Simon Ser 2021-11-02 08:46:50 +01:00
parent 9cdbf5916c
commit 56c9e8d0da

@ -35,9 +35,9 @@ You can build and run sway directly without installing it. A subproject allows t
```sh ```sh
# Clone repositories # Clone repositories
git clone git@github.com:swaywm/sway.git git clone https://github.com/swaywm/sway.git
cd sway cd sway
git clone git@github.com:swaywm/wlroots.git subprojects/wlroots git clone https://gitlab.freedesktop.org/wlroots/wlroots.git subprojects/wlroots
# Build sway and wlroots # Build sway and wlroots
meson build/ meson build/
@ -102,7 +102,7 @@ Execute `source ~/.profile` to update the variables for your current terminal se
## Compiling ## Compiling
You're now ready to compile wlroots, which is the Wayland compositor library used by sway. You're now ready to compile wlroots, which is the Wayland compositor library used by sway.
* Clone the [`wlroots`](https://github.com/swaywm/wlroots) repository with git * Clone the [`wlroots`](https://gitlab.freedesktop.org/wlroots/wlroots/) repository with git
* Execute `meson build`, which will create the `build` directory * Execute `meson build`, which will create the `build` directory
* Execute `ninja -C build` to build * Execute `ninja -C build` to build
* Execute `sudo ninja -C build install` to install * Execute `sudo ninja -C build install` to install