commit 2cd21c2db29e0a79a8fb7c667af6bf5b1a962da0
parent 57a3f317ade14ca65c02e29dedc59059b97ea6c2
Author: A. Tammy <epsilon-0@users.noreply.github.com>
Date: Thu, 13 Aug 2020 16:02:34 -0400
add check for MANPREFIX (#510)
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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