From aed0133a9f49c447d6b6796c3c3ca9c05df80d70 Mon Sep 17 00:00:00 2001 From: Tommaso Negri Date: Mon, 10 Aug 2026 00:04:44 +0200 Subject: change default install location --- Makefile | 2 +- Sources/bar/bar.docc/installation.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9f7cd43..b76a941 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3