From 0b6259544687e6e8153c573ccaed0e5721f55ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Sun, 28 Sep 2025 20:06:25 +0200 Subject: [PATCH] Update the README. --- README.md | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 2d736a2..f4d5add 100644 --- a/README.md +++ b/README.md @@ -9,29 +9,19 @@ file with the output so that it is much more readable. To run the program, simply run it as follows: ```console -$ qdbus-prettifier +qdbus-prettifier ``` ## Building -Requirements: +To compile the program, install the Rust suite, namely the compiler and Cargo. +Once installed you can run `cargo build --release` to generate a release build +of the project which will be found at `target/release/dbus-prettifier`. -- C compiler that supports GNU99 (GCC recommended). -- (GNU) Make - -Build with `make`: +To install you can use the `install` command as follows: ```console -$ make -cc -std=gnu99 -Wall -Wextra -Wfatal-errors -Werror -O2 -DNDEBUG -c -o src/main.o src/main.c -cc -o dbus-prettifier src/main.o -``` - -Install with `make install`: - -```console -$ sudo make install -install -Dm755 dbus-prettifier /usr/local/bin/ +install -Dm755 target/release/dbus-prettifier /usr/local/bin ``` ## License