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:
parent
05bab4b9c9
commit
c6e3c35a80
@ -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
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user