summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicole Patricia Mazzuca <nicole@strega-nil.co>2025-05-03 16:22:53 +0200
committerNicole Patricia Mazzuca <nicole@strega-nil.co>2025-05-03 16:26:12 +0200
commit256590281910ebd4408057cc08d2eeec610970a5 (patch)
treead9bca19f071276eff3d13c57f13d7421ed453ed
parentb7b7f21d692048f34287615312ebc9385cd3c378 (diff)
Allow PREFIX to be set by user
This allows for the following command to work: ``` PREFIX=~/.local make install ``` The makefile already handles the `PREFIX` not being at `/usr/local`
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 623aaf7..31f9aaa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
.POSIX:
-PREFIX = /usr/local
+PREFIX ?= /usr/local
MANPREFIX = $(PREFIX)/share/man
install: