From 00f15ca9134fbc68944f952337953bdd95f8dd28 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 19 May 2024 23:15:16 +0400 Subject: [PATCH] Updated README. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 362a9fb..6a44e79 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,11 @@ Will give 348.29. ### Manually -First run `make` to build a program, and then `make install` to copy executable in `/usr/local/bin/`. Later, use `make uninstall` to delete it, or just delete `/usr/local/bin/kwh-cost`. +Just run `make install` to build and copy executable in `/usr/local/bin/`, set a `PREFIX=` variable to change a default `/usr/local` path. Or just run `make` to only build an executable. -A `LICENSE` file is also being copied to `/usr/local/share/licenses/kwh-cost/LICENSE`. +Use `make uninstall` to delete it (don't forget about the `PREFIX=` variable if you previously set it), or just delete `${PREFIX}/bin/kwh-cost` by hand. + +A `LICENSE` file is also being copied to `${PREFIX}/share/licenses/kwh-cost/LICENSE`. ### For ArchLinux