Revert to /usr/local as default install prefix
/usr/local is standard for locally compiled software
This commit is contained in:
parent
c6e3c35a80
commit
3d95fd6363
@ -157,12 +157,12 @@ Install:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Remove binary
|
# Remove binary
|
||||||
sudo rm /usr/bin/passage
|
sudo rm /usr/local/bin/passage
|
||||||
# or for user installation
|
# or for user installation
|
||||||
rm ~/.local/bin/passage
|
rm ~/.local/bin/passage
|
||||||
|
|
||||||
# Remove manpage
|
# Remove manpage
|
||||||
sudo rm /usr/share/man/man1/passage.1
|
sudo rm /usr/local/share/man/man1/passage.1
|
||||||
# or for user installation
|
# or for user installation
|
||||||
rm ~/.local/share/man/man1/passage.1
|
rm ~/.local/share/man/man1/passage.1
|
||||||
|
|
||||||
|
|||||||
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
|
PREFIX ?= /usr/local
|
||||||
MANPREFIX ?= $(PREFIX)/share/man
|
MANPREFIX ?= $(PREFIX)/share/man
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user