Change default install directory to /usr/bin

- Update Makefile PREFIX default from /usr/local to /usr
- Update INSTALL.md uninstall instructions to reflect /usr/bin
This commit is contained in:
fraggle 2026-01-11 19:07:34 -04:00
parent 05bab4b9c9
commit c6e3c35a80
2 changed files with 5 additions and 5 deletions

View File

@ -157,13 +157,13 @@ Install:
```bash ```bash
# Remove binary # Remove binary
sudo rm /usr/local/bin/passage sudo rm /usr/bin/passage
# or # or for user installation
rm ~/.local/bin/passage rm ~/.local/bin/passage
# Remove manpage # Remove manpage
sudo rm /usr/local/share/man/man1/passage.1 sudo rm /usr/share/man/man1/passage.1
# or # or for user installation
rm ~/.local/share/man/man1/passage.1 rm ~/.local/share/man/man1/passage.1
# Update man database # Update man database

View File

@ -1,7 +1,7 @@
.PHONY: build install clean test release man install-man .PHONY: build install clean test release man install-man
VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo "dev") VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo "dev")
PREFIX ?= /usr/local PREFIX ?= /usr
MANPREFIX ?= $(PREFIX)/share/man MANPREFIX ?= $(PREFIX)/share/man
build: build: