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