summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Tammy <epsilon-0@users.noreply.github.com>2020-08-13 16:02:34 -0400
committerGitHub <noreply@github.com>2020-08-13 16:02:34 -0400
commit2cd21c2db29e0a79a8fb7c667af6bf5b1a962da0 (patch)
treeebde9e92361470d59f7ff48e0fd87bb62fcba28b
parent57a3f317ade14ca65c02e29dedc59059b97ea6c2 (diff)
add check for MANPREFIX (#510)
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 70f780d..1d8d362 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,9 @@ OS = $(shell uname -s)
ifndef PREFIX
PREFIX = /usr/local
endif
-MANPREFIX = $(PREFIX)/share/man
+ifndef MANPREFIX
+ MANPREFIX = $(PREFIX)/share/man
+endif
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin