add check for MANPREFIX (#510)

This commit is contained in:
A. Tammy 2020-08-13 16:02:34 -04:00 committed by GitHub
parent 57a3f317ad
commit 2cd21c2db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,9 @@ OS = $(shell uname -s)
ifndef PREFIX ifndef PREFIX
PREFIX = /usr/local PREFIX = /usr/local
endif endif
MANPREFIX = $(PREFIX)/share/man ifndef MANPREFIX
MANPREFIX = $(PREFIX)/share/man
endif
install: install:
mkdir -p $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)$(PREFIX)/bin