update build instructions in README (#318)

pull/320/head
Michael Stapelberg 2022-05-20 11:37:04 +02:00 committed by GitHub
parent 21380d9a39
commit d629e186cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 9 deletions

View File

@ -1,6 +1,6 @@
i3lock - improved screen locker i3lock - improved screen locker
=============================== ===============================
[i3lock](https://i3wm.org/i3lock/)> is a simple screen locker like slock. [i3lock](https://i3wm.org/i3lock/) is a simple screen locker like slock.
After starting it, you will see a white screen (you can configure the After starting it, you will see a white screen (you can configure the
color/an image). You can return to your screen by entering your password. color/an image). You can return to your screen by entering your password.
@ -66,17 +66,11 @@ i3lock unless you have a reason to do so.
First install the dependencies listed in requirements section, then run these First install the dependencies listed in requirements section, then run these
commands (might need to be adapted to your OS): commands (might need to be adapted to your OS):
``` ```
autoreconf --force --install
rm -rf build/ rm -rf build/
mkdir -p build && cd build/ mkdir -p build && cd build/
../configure \ meson .. -Dprefix=/usr
--prefix=/usr \ ninja
--sysconfdir=/etc \
--disable-sanitizers
make
``` ```
Upstream Upstream