diff options
| author | Tommaso Negri <me@tommasongr.com> | 2026-08-10 00:04:44 +0200 |
|---|---|---|
| committer | Tommaso Negri <me@tommasongr.com> | 2026-08-10 00:04:44 +0200 |
| commit | aed0133a9f49c447d6b6796c3c3ca9c05df80d70 (patch) | |
| tree | f330ea2dd476fa41619734621f61d149e0cc74da | |
| parent | d59b22e557fa5d69ea6be725a7e5bcd829588225 (diff) | |
| download | bar-aed0133a9f49c447d6b6796c3c3ca9c05df80d70.tar.gz bar-aed0133a9f49c447d6b6796c3c3ca9c05df80d70.zip | |
change default install location
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | Sources/bar/bar.docc/installation.md | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -PREFIX ?= /usr/local/bin +PREFIX ?= ~/.local/bin all: run diff --git a/Sources/bar/bar.docc/installation.md b/Sources/bar/bar.docc/installation.md index a96f79f..d49c084 100644 --- a/Sources/bar/bar.docc/installation.md +++ b/Sources/bar/bar.docc/installation.md @@ -26,11 +26,11 @@ From within the *bar* directory, run the install target: make install ``` -> Tip: By default, the install target builds a release binary and copies it to `/usr/local/bin/bar`. +> Tip: By default, the install target builds a release binary and copies it to `~/.local/bin/bar`. > You can override the install location by setting `PREFIX`: > > ```shell -> make install PREFIX=~/.local/bin +> make install PREFIX=/usr/local/bin > ``` ### Without make |
